|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mongodb.DBMessage
public class DBMessage
Creates a message to send to the database. Database messages are of the form:
<length><id><respondingTo><operation><data>The first four variables are the header and the last is the content.
Variable | Type | Description |
---|---|---|
length | int | The length of the entire message |
id | int | A unique id generated automatically for the message |
respondingTo | int | The id of the message this is in response to, or 0 if it isn't a reponse |
operation | int | The database operation desired |
data | byte[] | The message body |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |