Package com.mongodb.event
Class ConnectionMessagesSentEvent
java.lang.Object
com.mongodb.event.ConnectionMessagesSentEvent
Deprecated.
- No longer used
An event signifying that a message has been sent on a connection.
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionMessagesSentEvent(ConnectionId connectionId, int requestId, int size) Deprecated.Constructs a new instance of the event. -
Method Summary
-
Constructor Details
-
ConnectionMessagesSentEvent
Deprecated.Constructs a new instance of the event.- Parameters:
connectionId- the connection idrequestId- the request idsize- the size of the sent message
-
-
Method Details
-
getConnectionId
Deprecated.Gets the identifier for this connection.- Returns:
- the connection id
-
getRequestId
public int getRequestId()Deprecated.Gets the request id of the message that was sent.- Returns:
- the request id
-
getSize
public int getSize()Deprecated.Gets the size of the sent message.- Returns:
- the size of the sent message
-
toString
Deprecated.
-