Constructor and Description |
---|
ConnectionMessageReceivedEvent(ConnectionId connectionId,
int responseTo,
int size)
Constructs a new instance of the event.
|
Modifier and Type | Method and Description |
---|---|
ConnectionId |
getConnectionId()
Gets the identifier for this connection.
|
int |
getResponseTo()
The responseTo identifier of the message.
|
int |
getSize()
Gets the size of the received message.
|
String |
toString() |
public 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()
public ConnectionId getConnectionId()