Module id.ICE
Package id.ICE

Class MessageRequest

Object
MessageRequest

public class MessageRequest extends Object
Response message sent to the client
  • Constructor Details

    • MessageRequest

      public MessageRequest(int clientId, Optional<ByteBuffer> message)
      Parameters:
      message - Message request received from the client.
  • Method Details

    • getConnectionId

      public int getConnectionId()
      Id of the connection to which this request belongs. All requests sent by the client in same connection will have same connection id.
    • getMessage

      public Optional<ByteBuffer> getMessage()
      Request message as sent by the client. If service requested to ignore next client request (see MessageResponse.withIgnoreNextRequest()) then this message will be empty.