Class ConnectionEndEvent

  • All Implemented Interfaces:
    Message

    public class ConnectionEndEvent
    extends ConnectionEvent
    Event indicating that a connection has been closed.
    • Constructor Detail

      • ConnectionEndEvent

        public ConnectionEndEvent​(long timestamp,
                                  int serverId,
                                  int connectionId)
        Creates a ConnectionEndEvent.
        Parameters:
        timestamp - Timestamp
        serverId - Server id
        connectionId - Connection id
    • Method Detail

      • accept

        public <T> T accept​(Visitor<T> visitor)
        Description copied from interface: Message
        Dispatches a call to the appropriate visit method on Visitor.
        Type Parameters:
        T - Return type
        Parameters:
        visitor - Visitor
        Returns:
        Value returned by the visit method