|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkingConfiguration
Configuration interface for networking configuration settings.
The network settings should be configured in exactly the same on the server and client.
Method Summary | |
---|---|
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)
|
Method Detail |
---|
void clientServerFactory(ClientServerFactory factory)
ClientServerFactory clientServerFactory()
void singleThreadedClient(boolean flag)
true
for low resource systems.false
for best asynchronous performance and fast
GUI response.
true
false
flag
- 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)
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |