Class CAJContext

    • Field Detail

      • VERSION

        public static final Version VERSION
        Version.
      • CAJ_SINGLE_THREADED_MODEL

        public static final String CAJ_SINGLE_THREADED_MODEL
        String value of the JVM property key to turn on single threaded model.
        See Also:
        Constant Field Values
      • logger

        protected Logger logger
        Context logger.
      • addressList

        protected String addressList
        A space-separated list of broadcast address for process variable name resolution. Each address must be of the form: ip.number:port or host.name:port
      • autoAddressList

        protected boolean autoAddressList
        Define whether or not the network interfaces should be discovered at runtime.
      • nameServersList

        protected String nameServersList
      • connectionTimeout

        protected float connectionTimeout
        If the context doesn't see a beacon from a server that it is connected to for connectionTimeout seconds then a state-of-health message is sent to the server over TCP/IP. If this state-of-health message isn't promptly replied to then the context will assume that the server is no longer present on the network and disconnect.
      • beaconPeriod

        protected float beaconPeriod
        Period in second between two beacon signals.
      • beaconSpeedup

        protected float beaconSpeedup
        Factor by which beacon period needs to shrink to consider it a 'fast' beacon which suggests a CA server restart/reboot.
      • beaconSlowdown

        protected float beaconSlowdown
        Factor by which beacon period needs to grow to consider it a slow, delayed beacon which suggests a restored network segment.
      • echoTimeout

        protected long echoTimeout
        Timeout for the state-of-health message (defaults to the CA default of 5 sec).
      • repeaterPort

        protected int repeaterPort
        Port number for the repeater to listen to.
      • serverPort

        protected int serverPort
        Port number for the server to listen to.
      • maxArrayBytes

        protected int maxArrayBytes
        Length in bytes of the maximum array size that may pass through CA.
      • minSearchInterval

        protected float minSearchInterval
        Minimum interval in seconds between CA search broadcasts. Default is 0.1 seconds
      • maxSearchInterval

        protected float maxSearchInterval
        Maximum interval in seconds between CA search broadcasts. Default is 5 minutes.
      • contextMessageListeners

        protected ArrayList contextMessageListeners
        List of context message listeners.
      • contextExceptionListeners

        protected ArrayList contextExceptionListeners
        List of context exception listeners.
      • eventDispatcher

        protected EventDispatcher eventDispatcher
        Event dispatcher.
      • timer

        protected Timer timer
        Timer.
      • reactor

        protected Reactor reactor
        Reactor.
      • registrationConfirmed

        protected boolean registrationConfirmed
        Registration confirmation status.
      • broadcastTransport

        protected BroadcastTransport broadcastTransport
        Broadcast transport needed for channel searches.
      • connector

        protected CAConnector connector
        CA connector (creates CA virtual circuit).
      • transportRegistry

        protected CATransportRegistry transportRegistry
        CA transport (virtual circuit) registry. This registry contains all active transports - connections to CA servers.
      • cachedBufferAllocator

        protected CachedByteBufferAllocator cachedBufferAllocator
        Cached byte buffer allocator. Used by transports which as send buffers.
      • channelsByCID

        protected IntHashMap channelsByCID
        Map of channels (keys are CIDs).
      • channelsByName

        protected Map channelsByName
        Map of channels (keys are names).
      • pendingResponseRequests

        protected IntHashMap pendingResponseRequests
        Map of pending response requests (keys are IOID).
      • beaconHandlers

        protected Map beaconHandlers
        Beacon handler map.
    • Constructor Detail

      • CAJContext

        public CAJContext()
        Constructor.