Package | Description |
---|---|
com.allanbank.mongodb.client |
Provides implementations of the main client interfaces and classes to translate the
Reply (s) from the server. |
com.allanbank.mongodb.client.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.
|
protected long |
AbstractMessage.writeHeader(BufferingBsonOutputStream stream,
int requestId,
int responseTo,
Operation op)
Writes the MsgHeader to the stream.
|
Constructor and Description |
---|
Header(int length,
int requestId,
int responseId,
Operation operation)
Creates a new header.
|
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.