Package com.zeroc.Ice

Class InitializationData

java.lang.Object
com.zeroc.Ice.InitializationData
All Implemented Interfaces:
Cloneable

public final class InitializationData extends Object implements Cloneable
A class that encapsulates data to initialize a communicator.
See Also:
  • Field Details

    • properties

      public Properties properties
      The properties for the communicator.
    • logger

      public Logger logger
      The logger for the communicator.
    • observer

      public CommunicatorObserver observer
      The communicator observer used by the Ice run-time.
    • threadStart

      public Runnable threadStart
      threadStart is called whenever the communicator starts a new thread.
    • threadStop

      public Runnable threadStop
      threadStop is called whenever a thread created by the communicator is about to be destroyed.
    • classLoader

      public ClassLoader classLoader
      The custom class loader for the communicator.
    • dispatcher

      public BiConsumer<Runnable,Connection> 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

      public IntFunction<String> 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 in InitializationData 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

      public BatchRequestInterceptor batchRequestInterceptor
      The batch request interceptor.
    • valueFactoryManager

      public ValueFactoryManager valueFactoryManager
      The value factory manager.
  • Constructor Details

    • InitializationData

      public InitializationData()
      Creates an instance with all members set to null.
  • Method Details