com.threerings.presents.net
Class SubscribeRequest
java.lang.Object
com.threerings.io.SimpleStreamableObject
com.threerings.presents.net.Message
com.threerings.presents.net.UpstreamMessage
com.threerings.presents.net.SubscribeRequest
- All Implemented Interfaces:
- Streamable
public class SubscribeRequest
- extends UpstreamMessage
Requests to subscribe to a particular distributed object.
|
Field Summary |
protected int |
_oid
The object id of the distributed object to which we are
subscribing. |
|
Constructor Summary |
SubscribeRequest()
Zero argument constructor used when unserializing an instance. |
SubscribeRequest(int oid)
Constructs a subscribe request for the distributed object with the
specified object id. |
|
Method Summary |
int |
getOid()
Returns the oid of the object to which we desire subscription. |
String |
toString()
|
_oid
protected int _oid
- The object id of the distributed object to which we are
subscribing.
SubscribeRequest
public SubscribeRequest()
- Zero argument constructor used when unserializing an instance.
SubscribeRequest
public SubscribeRequest(int oid)
- Constructs a subscribe request for the distributed object with the
specified object id.
getOid
public int getOid()
- Returns the oid of the object to which we desire subscription.
toString
public String toString()
- Overrides:
toString in class UpstreamMessage