public class ServerCommunicator extends Communicator
Communicator services using non-blocking I/O and the connection manager.| Constructor and Description |
|---|
ServerCommunicator(Client client,
PresentsConnectionManager conmgr,
RootDObjectManager rootmgr) |
| Modifier and Type | Method and Description |
|---|---|
void |
gotBootstrap()
Notifies the communicator that the client has received its bootstrap data.
|
void |
logoff()
Delivers a logoff notification to the server and shuts down the network connection.
|
void |
logon()
Logs on to the server and initiates our full-duplex message exchange.
|
void |
postMessage(UpstreamMessage msg)
Queues up the specified message for delivery upstream.
|
void |
setClassLoader(ClassLoader loader)
Configures this communicator with a custom class loader to be used when reading and writing
objects over the network.
|
getLastWrite, getTransmitDatagramspublic ServerCommunicator(Client client, PresentsConnectionManager conmgr, RootDObjectManager rootmgr)
public void logon()
Communicatorlogon in class Communicatorpublic void logoff()
Communicatorlogoff in class Communicatorpublic void gotBootstrap()
CommunicatorgotBootstrap in class Communicatorpublic void postMessage(UpstreamMessage msg)
CommunicatorpostMessage in class Communicatorpublic void setClassLoader(ClassLoader loader)
CommunicatorsetClassLoader in class CommunicatorCopyright © 2015. All rights reserved.