@Beta public final class ConnectionMessagesSentEvent extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ConnectionId |
connectionId |
private int |
requestId |
private int |
size |
| Constructor and Description |
|---|
ConnectionMessagesSentEvent(ConnectionId connectionId,
int requestId,
int size)
Constructs a new instance of the event.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
private final ConnectionId connectionId
private final int requestId
private final int size
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 in class java.lang.Object