Class WireEventHandle

    • Constructor Detail

      • WireEventHandle

        public WireEventHandle​(java.lang.String eventName,
                               EventHandler eventHandler,
                               Encoding encoding)
    • Method Detail

      • calculateCount

        public void calculateCount()
      • setEventId

        public void setEventId​(int eventId)
        Parameters:
        eventId - The server side id of this event
      • getEventId

        public int getEventId()
        Description copied from interface: EventHandle
        Get the internal event id number for this handle
        Specified by:
        getEventId in interface EventHandle
        Returns:
        The internal event id
      • assignNewLocalId

        public int assignNewLocalId()
        Generates a new local id for this event.
      • getLocalId

        public int getLocalId()
        Returns:
        The current local id of this event.
      • toByteArray

        public byte[] toByteArray()
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object