Class CASServerMonitor

    • Field Detail

      • mask

        protected short mask
        Monitor mask.
      • dataType

        protected short dataType
      • dataCount

        protected int dataCount
      • queue

        protected LinkedList queue
        Ordered dispatch queue.
      • pendingEvent

        protected DBR pendingEvent
        Pending event. NOTE: synchronized on queue's monitor.
      • submitPending

        protected boolean submitPending
        Flag indicating pending submit. NOTE: synchronized on queue's monitor.
      • destoryed

        protected boolean destoryed
        Flag indicating destroy status. NOTE: synchronized on queue's monitor.
      • MAX_QUEUE_SIZE

        protected static final int MAX_QUEUE_SIZE
        Max queue size. If limit is reached then older events are replaced with the newer.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CASServerMonitor

        public CASServerMonitor​(ServerChannel channel,
                                int ioid,
                                short mask,
                                EventAddResponse handler,
                                CASTransport transport,
                                short dataType,
                                int dataCount)
        Parameters:
        channel - ServerChannel
        ioid - event Id
        mask - monitor mask
        handler - EventAddResponse
        transport - CASTransport
        dataType - data type
        dataCount - data count