Package com.mongodb.event
Class ConnectionMessagesSentEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionMessagesSentEvent
-
@Beta @Deprecated public final class ConnectionMessagesSentEvent extends Object
Deprecated.- No longer usedAn event signifying that a message has been sent on a connection.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMessagesSentEvent(ConnectionId connectionId, int requestId, int size)
Deprecated.Constructs a new instance of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConnectionId
getConnectionId()
Deprecated.Gets the identifier for this connection.int
getRequestId()
Deprecated.Gets the request id of the message that was sent.int
getSize()
Deprecated.Gets the size of the sent message.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ConnectionMessagesSentEvent
public ConnectionMessagesSentEvent(ConnectionId connectionId, int requestId, int size)
Deprecated.Constructs a new instance of the event.- Parameters:
connectionId
- the connection idrequestId
- the request idsize
- the size of the sent message
-
-
Method Detail
-
getConnectionId
public ConnectionId 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
-
-