@Beta public final class ConnectionMessagesSentEvent extends java.lang.Object
| 构造器和说明 |
|---|
ConnectionMessagesSentEvent(ConnectionId connectionId,
int requestId,
int size)
Constructs a new instance of the event.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConnectionId |
getConnectionId()
Gets the identifier for this connection.
|
int |
getRequestId()
Gets the request id of the message that was sent.
|
int |
getSize()
Gets the size of the sent message.
|
java.lang.String |
toString() |
public ConnectionMessagesSentEvent(ConnectionId connectionId, int requestId, int size)
connectionId - the connection idrequestId - the request idsize - the size of the sent messagepublic ConnectionId getConnectionId()
public int getRequestId()
public int getSize()
public java.lang.String toString()
toString 在类中 java.lang.Object