public class ClientConfigurationImpl extends NetworkingConfigurationProviderImpl implements ClientConfiguration
| Constructor and Description |
|---|
ClientConfigurationImpl(Config4Impl config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationItem(ClientConfigurationItem configItem)
adds ConfigurationItems to be applied when
a networking
ClientObjectContainer is opened. |
void |
applyConfigurationItems(ExtClient client) |
CommonConfiguration |
common() |
MessageSender |
messageSender()
returns the MessageSender for this Configuration context.
|
void |
prefetchDepth(int prefetchDepth)
Sets the depth to which prefetched objects will be activated.
|
void |
prefetchIDCount(int prefetchIDCount)
Sets the number of IDs to be pre-allocated in the database for new
objects created on the client.
|
void |
prefetchObjectCount(int prefetchObjectCount)
Sets the number of objects to be prefetched for an ObjectSet.
|
void |
prefetchSlotCacheSize(int slotCacheSize)
Sets the slot cache size to the given value.
|
int |
timeoutClientSocket() |
void |
timeoutClientSocket(int milliseconds)
configures the time a client waits for a message response
from the server.
|
legacy, networkingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnetworkingpublic ClientConfigurationImpl(Config4Impl config)
public MessageSender messageSender()
ClientConfigurationmessageSender in interface ClientConfigurationpublic void prefetchIDCount(int prefetchIDCount)
ClientConfigurationprefetchIDCount in interface ClientConfigurationprefetchIDCount - The number of IDs to be prefetchedpublic void prefetchObjectCount(int prefetchObjectCount)
ClientConfigurationprefetchObjectCount in interface ClientConfigurationprefetchObjectCount - The number of objects to be prefetchedpublic CommonConfiguration common()
common in interface CommonConfigurationProviderpublic void prefetchDepth(int prefetchDepth)
ClientConfigurationprefetchDepth in interface ClientConfigurationpublic void prefetchSlotCacheSize(int slotCacheSize)
ClientConfigurationprefetchSlotCacheSize in interface ClientConfigurationpublic void timeoutClientSocket(int milliseconds)
ClientConfigurationClientConfiguration.timeoutClientSocket(int)
and #timeoutServerSocket(int).
timeoutClientSocket in interface ClientConfigurationmilliseconds - time in millisecondspublic int timeoutClientSocket()
public void addConfigurationItem(ClientConfigurationItem configItem)
ClientConfigurationClientObjectContainer is opened.addConfigurationItem in interface ClientConfigurationconfigItem - the ClientConfigurationItempublic void applyConfigurationItems(ExtClient client)