org.objectweb.jonathan.protocols.http.api
Interface HttpServerConnection
public interface HttpServerConnection
Represents a server-side connection via HTTP.
close
public void close()
Close this connection.
getUrl
public String getUrl()
Get the url of this connection
send
public void send(Marshaller message)
Send a message to the distant peer.
message
- the message to send
setCallbackService
public void setCallbackService(ServerCallback cbs)
Associate a callback service (defined in the Direct Proxy
bundle) to the connection. Callback services are akin to
Session_Low implementations, with different signatures though.
cbs
- the CallbackService to associate to this connection.