com.mongodb
Class DBMessage

java.lang.Object
  extended by com.mongodb.DBMessage

public class DBMessage
extends Object

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.
VariableTypeDescription
lengthintThe length of the entire message
idintA unique id generated automatically for the message
respondingTointThe id of the message this is in response to, or 0 if it isn't a reponse
operationintThe database operation desired
databyte[]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

toString

public String toString()
Overrides:
toString in class Object