public interface NetworkingConfiguration
| Modifier and Type | Method and Description |
|---|---|
void |
batchMessages(boolean flag)
Configures to batch messages between client and server.
|
ClientServerFactory |
clientServerFactory() |
void |
clientServerFactory(ClientServerFactory factory) |
void |
maxBatchQueueSize(int maxSize)
Configures the maximum memory buffer size for batched message.
|
void |
messageRecipient(MessageRecipient messageRecipient)
sets the MessageRecipient to receive Client Server messages.
|
void |
singleThreadedClient(boolean flag)
configures the client messaging system to be single threaded
or multithreaded.
|
Socket4Factory |
socketFactory() |
void |
socketFactory(Socket4Factory socket4Factory) |
void clientServerFactory(ClientServerFactory factory)
ClientServerFactory clientServerFactory()
void singleThreadedClient(boolean flag)
true for low resource systems.false for best asynchronous performance and fast
GUI response.
truefalseflag - the desired settingvoid batchMessages(boolean flag)
flag - false, to turn message batching off.void maxBatchQueueSize(int maxSize)
maxSize, batched
messages will be sent to server.maxSize - void messageRecipient(MessageRecipient messageRecipient)
messageRecipient - the MessageRecipient to be usedSocket4Factory socketFactory()
void socketFactory(Socket4Factory socket4Factory)