Package com.zeroc.Ice
Class InitializationData
java.lang.Object
com.zeroc.Ice.InitializationData
- All Implemented Interfaces:
Cloneable
A class that encapsulates data to initialize a communicator.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe batch request interceptor.The custom class loader for the communicator.Applications that make use of compact type IDs to conserve space when marshaling class instances, and also use the streaming API to extract such classes, can intercept the translation between compact type IDs and their corresponding string type IDs by installing a compact ID resolver inInitializationData
The parameter id represents the compact ID; the returned value is the type ID such as"::Module::Class"
, or an empty string if the compact ID is unknown.You can control which thread receives operation invocations and AMI callbacks by supplying a dispatcher.The logger for the communicator.The communicator observer used by the Ice run-time.The properties for the communicator.threadStart is called whenever the communicator starts a new thread.threadStop is called whenever a thread created by the communicator is about to be destroyed.The value factory manager. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
properties
The properties for the communicator. -
logger
The logger for the communicator. -
observer
The communicator observer used by the Ice run-time. -
threadStart
threadStart is called whenever the communicator starts a new thread. -
threadStop
threadStop is called whenever a thread created by the communicator is about to be destroyed. -
classLoader
The custom class loader for the communicator. -
dispatcher
You can control which thread receives operation invocations and AMI callbacks by supplying a dispatcher.For example, you can use this dispatching facility to ensure that all invocations and callbacks are dispatched in a GUI event loop thread so that it is safe to invoke directly on GUI objects.
The dispatcher is responsible for running (dispatching) the invocation or AMI callback on its favorite thread. It must execute the the provided
Runnable
parameter. The con parameter represents the connection associated with this dispatch. -
compactIdResolver
Applications that make use of compact type IDs to conserve space when marshaling class instances, and also use the streaming API to extract such classes, can intercept the translation between compact type IDs and their corresponding string type IDs by installing a compact ID resolver inInitializationData
The parameter id represents the compact ID; the returned value is the type ID such as"::Module::Class"
, or an empty string if the compact ID is unknown. -
batchRequestInterceptor
The batch request interceptor. -
valueFactoryManager
The value factory manager.
-
-
Constructor Details
-
InitializationData
public InitializationData()Creates an instance with all members set tonull
.
-
-
Method Details