com.threerings.presents.net
Class ObjectResponse<T extends DObject>
java.lang.Object
com.threerings.io.SimpleStreamableObject
com.threerings.presents.net.Message
com.threerings.presents.net.DownstreamMessage
com.threerings.presents.net.ObjectResponse<T>
- Type Parameters:
T - the type of object delivered by the response.
- All Implemented Interfaces:
- Streamable
public class ObjectResponse<T extends DObject>
- extends DownstreamMessage
Contains a distributed object to which the client has subscribed.
|
Field Summary |
protected T |
_dobj
The object which is associated with this response. |
|
Constructor Summary |
ObjectResponse()
Zero argument constructor used when unserializing an instance. |
ObjectResponse(T dobj)
Constructs an object response with the supplied distributed object. |
_dobj
protected T extends DObject _dobj
- The object which is associated with this response.
ObjectResponse
public ObjectResponse()
- Zero argument constructor used when unserializing an instance.
ObjectResponse
public ObjectResponse(T dobj)
- Constructs an object response with the supplied distributed object.
getObject
public T getObject()
toString
public String toString()
- Overrides:
toString in class DownstreamMessage