com.threerings.presents.net
Class UnsubscribeRequest

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.presents.net.Message
          extended by com.threerings.presents.net.UpstreamMessage
              extended by com.threerings.presents.net.UnsubscribeRequest
All Implemented Interfaces:
Streamable

public class UnsubscribeRequest
extends UpstreamMessage

Requests to end a subscription to a particular distributed object.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
protected  int _oid
          The object id of the distributed object from which we are unsubscribing.
 
Fields inherited from class com.threerings.presents.net.UpstreamMessage
_nextMessageId, messageId
 
Fields inherited from class com.threerings.presents.net.Message
received
 
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()
           
 
Methods inherited from class com.threerings.presents.net.UpstreamMessage
nextMessageId
 
Methods inherited from class com.threerings.presents.net.Message
getTransport, noteActualTransport, setTransport
 
Methods inherited from class com.threerings.io.SimpleStreamableObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_oid

protected int _oid
The object id of the distributed object from which we are unsubscribing.

Constructor Detail

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.

Method Detail

getOid

public int getOid()
Returns the oid of the object from which we are unsubscribing.


toString

public String toString()
Overrides:
toString in class UpstreamMessage