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