Package com.mongodb.event
Class ConnectionClosedEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionClosedEvent
-
@Deprecated public final class ConnectionClosedEvent extends java.lang.Object
Deprecated.there is no replacement for this classA 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.java.lang.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
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-