Class ConnectionMessageReceivedEvent


  • @Beta
    @Deprecated
    public final class ConnectionMessageReceivedEvent
    extends Object
    Deprecated.
    - No longer used
    An event signifying that a message has been received on a connection.
    • Constructor Detail

      • ConnectionMessageReceivedEvent

        public ConnectionMessageReceivedEvent​(ConnectionId connectionId,
                                              int responseTo,
                                              int size)
        Deprecated.
        Constructs a new instance of the event.
        Parameters:
        connectionId - the connection id
        responseTo - the request id that this message is in response to
        size - the size of the received message
    • Method Detail

      • getResponseTo

        public int getResponseTo()
        Deprecated.
        The responseTo identifier of the message. This corresponds to the requestId of the message that this message is in reply to.
        Returns:
        the responseTo identifier
      • getSize

        public int getSize()
        Deprecated.
        Gets the size of the received message.
        Returns:
        the size of the received message
      • getConnectionId

        public ConnectionId getConnectionId()
        Deprecated.
        Gets the identifier for this connection.
        Returns:
        the connection id