- Object
-
- MessageRequest
-
public class MessageRequest extends Object
Response message sent to the client
-
-
Constructor Summary
Constructors Constructor Description MessageRequest(int clientId, Optional<ByteBuffer> message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConnectionId()
Id of the connection to which this request belongs.Optional<ByteBuffer>
getMessage()
Request message as sent by the client.
-
-
-
Method Detail
-
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 (seeMessageResponse.withIgnoreNextRequest()
) then this message will be empty.
-
-