@Beta public class ConnectionMessageReceivedEvent extends ConnectionEvent
| Constructor and Description |
|---|
ConnectionMessageReceivedEvent(ConnectionId connectionId,
int responseTo,
int size)
Constructs a new instance of the event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getResponseTo()
The responseTo identifier of the message.
|
int |
getSize()
Gets the size of the received message.
|
getConnectionIdgetClusterIdpublic ConnectionMessageReceivedEvent(ConnectionId connectionId, int responseTo, int size)
connectionId - the connection idresponseTo - the request id that this message is in response tosize - the size of the received messagepublic int getResponseTo()
public int getSize()