Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.event |
This package contains cluster and connection event related classes
|
Modifier and Type | Method and Description |
---|---|
ConnectionId |
ConnectionDescription.getConnectionId()
Gets the id of the connection.
|
Constructor and Description |
---|
ConnectionDescription(ConnectionId connectionId,
ServerVersion serverVersion,
ServerType serverType,
int maxBatchCount,
int maxDocumentSize,
int maxMessageSize)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
ConnectionId |
ConnectionEvent.getConnectionId()
Gets the identifier for this connection.
|
Constructor and Description |
---|
ConnectionEvent(ConnectionId connectionId)
Constructs a new instance of the event.
|
ConnectionMessageReceivedEvent(ConnectionId connectionId,
int responseTo,
int size)
Constructs a new instance of the event.
|
ConnectionMessagesSentEvent(ConnectionId connectionId,
int requestId,
int size)
Constructs a new instance of the event.
|
Copyright © 2016. All Rights Reserved.