Package com.mongodb.event
Class ConnectionOpenedEvent
- java.lang.Object
 - 
- com.mongodb.event.ConnectionOpenedEvent
 
 
- 
@Deprecated public final class ConnectionOpenedEvent extends java.lang.ObjectDeprecated.there is no replacement for this classAn event for opening a new connection.- Since:
 - 3.5
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ConnectionOpenedEvent(ConnectionId connectionId)Deprecated.Construct an instance 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConnectionIdgetConnectionId()Deprecated.Gets the connection idjava.lang.StringtoString()Deprecated. 
 - 
 
- 
- 
Constructor Detail
- 
ConnectionOpenedEvent
public ConnectionOpenedEvent(ConnectionId connectionId)
Deprecated.Construct an instance- Parameters:
 connectionId- the connectionId
 
 - 
 
- 
Method Detail
- 
getConnectionId
public ConnectionId getConnectionId()
Deprecated.Gets the connection id- Returns:
 - the connection id
 
 
- 
toString
public java.lang.String toString()
Deprecated.- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -