Package | Description |
---|---|
com.allanbank.mongodb.connection |
Provides interfaces for managing connections to different MongoDB server configurations.
|
com.allanbank.mongodb.connection.message |
Low level messages to be sent to the MongoDB server.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
Operation.fromCode(int opCode)
Returns the
Operation for the provided opCode. |
static Operation |
Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation[] |
Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Header.getOperation()
Returns the operation for the message.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMessage.writeHeader(BsonOutputStream stream,
int requestId,
int responseTo,
Operation op,
int length)
Writes the MsgHeader to the stream.
|
Constructor and Description |
---|
Header(int length,
int requestId,
int responseId,
Operation operation)
Creates a new header.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.