class Response
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
Response.MyInputStream |
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
_cursor |
(package private) int |
_flags |
(package private) ServerAddress |
_host |
(package private) int |
_id |
(package private) int |
_len |
(package private) int |
_num |
(package private) java.util.List<DBObject> |
_objects |
(package private) int |
_operation |
(package private) int |
_responseTo |
(package private) int |
_startingFrom |
private static int |
MAX_LENGTH |
| Constructor and Description |
|---|
Response(ServerAddress addr,
DBCollection collection,
java.io.InputStream in,
DBDecoder decoder) |
| Modifier and Type | Method and Description |
|---|---|
long |
cursor() |
DBObject |
get(int i) |
ServerError |
getError() |
java.util.Iterator<DBObject> |
iterator() |
ServerAddress |
serverUsed() |
int |
size() |
java.lang.String |
toString() |
final ServerAddress _host
final int _len
final int _id
final int _responseTo
final int _operation
final int _flags
long _cursor
final int _startingFrom
final int _num
final java.util.List<DBObject> _objects
private static final int MAX_LENGTH
Response(ServerAddress addr, DBCollection collection, java.io.InputStream in, DBDecoder decoder) throws java.io.IOException
java.io.IOExceptionpublic int size()
public ServerAddress serverUsed()
public DBObject get(int i)
public java.util.Iterator<DBObject> iterator()
public long cursor()
public ServerError getError()
public java.lang.String toString()
toString in class java.lang.Object