Class ConnectionStartEvent

  • All Implemented Interfaces:
    Message

    public class ConnectionStartEvent
    extends ConnectionEvent
    Event indicating that a connection has been created.
    • Constructor Detail

      • ConnectionStartEvent

        public ConnectionStartEvent​(long timestamp,
                                    int serverId,
                                    int connectionId)
        Creates a ConnectionStartEvent.
        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