Class ConnectionRemovedEvent

    • Constructor Detail

      • ConnectionRemovedEvent

        public ConnectionRemovedEvent​(ConnectionId connectionId,
                                      ConnectionRemovedEvent.Reason reason)
        Deprecated.
        Constructs an instance.
        Parameters:
        connectionId - the connection id
        reason - the reason the connection was closed
        Since:
        3.11
    • Method Detail

      • getConnectionId

        public ConnectionId getConnectionId()
        Deprecated.
        Gets the connection id
        Returns:
        the connection id
      • getReason

        public ConnectionRemovedEvent.Reason getReason()
        Deprecated.
        Get the reason the connection was removed.
        Returns:
        the reason
        Since:
        3.11