@Beta public final class ConnectionMessageReceivedEvent extends java.lang.Object
| 构造器和说明 |
|---|
ConnectionMessageReceivedEvent(ConnectionId connectionId,
int responseTo,
int size)
Constructs a new instance of the event.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
java.lang.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()
public java.lang.String toString()
toString 在类中 java.lang.Object