Class ConnectionStartEvent

  • All Implemented Interfaces:
    Message

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

      Constructors 
      Constructor Description
      ConnectionStartEvent​(long timestamp, int serverId, int connectionId)
      Creates a ConnectionStartEvent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T accept​(Visitor<T> visitor)
      Dispatches a call to the appropriate visit method on Visitor.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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