Package com.mongodb.event
Class ConnectionClosedEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionClosedEvent
-
Deprecated.there is no replacement for this class
@Deprecated public final class ConnectionClosedEvent extends Object
A connection closed event.- Since:
- 3.5
-
-
Constructor Summary
Constructors Constructor Description ConnectionClosedEvent(ConnectionId connectionId)
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.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ConnectionClosedEvent
public ConnectionClosedEvent(ConnectionId connectionId)
Deprecated.Constructs a new instance of the event.- Parameters:
connectionId
- the connection id
-
-
Method Detail
-
getConnectionId
public ConnectionId getConnectionId()
Deprecated.Gets the identifier for this connection.- Returns:
- the connection id
-
-