com.threerings.presents.net
Class UnsubscribeResponse

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

public class UnsubscribeResponse
extends DownstreamMessage

Used to communicate to the client that we received their unsubscribe request and that it is now OK to remove an object mapping from their local object table.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
protected  int _oid
           
 
Fields inherited from class com.threerings.presents.net.DownstreamMessage
messageId
 
Fields inherited from class com.threerings.presents.net.Message
received
 
Constructor Summary
UnsubscribeResponse()
          Zero argument constructor used when unserializing an instance.
UnsubscribeResponse(int oid)
          Constructs an unsubscribe response with the supplied oid.
 
Method Summary
 int getOid()
           
 String toString()
           
 
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
Constructor Detail

UnsubscribeResponse

public UnsubscribeResponse()
Zero argument constructor used when unserializing an instance.


UnsubscribeResponse

public UnsubscribeResponse(int oid)
Constructs an unsubscribe response with the supplied oid.

Method Detail

getOid

public int getOid()

toString

public String toString()
Overrides:
toString in class DownstreamMessage