com.threerings.presents.net
Class FailureResponse

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.FailureResponse
All Implemented Interfaces:
Streamable

public class FailureResponse
extends DownstreamMessage

Communicates failure to subscribe to an object.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
protected  String _message
           
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
FailureResponse()
          Zero argument constructor used when unserializing an instance.
FailureResponse(int oid, String message)
          Constructs a failure response in response to a request for the specified oid.
 
Method Summary
 String getMessage()
           
 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

_message

protected String _message
Constructor Detail

FailureResponse

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


FailureResponse

public FailureResponse(int oid,
                       String message)
Constructs a failure response in response to a request for the specified oid.

Method Detail

getOid

public int getOid()

getMessage

public String getMessage()

toString

public String toString()
Overrides:
toString in class DownstreamMessage