com.threerings.presents.net
Class DownstreamMessage

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
      extended by com.threerings.presents.net.Message
          extended by com.threerings.presents.net.DownstreamMessage
All Implemented Interfaces:
Streamable
Direct Known Subclasses:
AuthResponse, BootstrapNotification, CompoundDownstreamMessage, EventNotification, FailureResponse, ObjectResponse, PongResponse, UnsubscribeResponse, UpdateThrottleMessage

public abstract class DownstreamMessage
extends Message

This class encapsulates a message in the distributed object protocol that flows from the server to the client. Downstream messages include object subscription, event forwarding and session management.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Field Summary
 short messageId
          The message id of the upstream message with which this downstream message is associated (or -1 if it is not associated with any upstream message).
 
Fields inherited from class com.threerings.presents.net.Message
received
 
Constructor Summary
DownstreamMessage()
           
 
Method Summary
 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

messageId

public short messageId
The message id of the upstream message with which this downstream message is associated (or -1 if it is not associated with any upstream message).

Constructor Detail

DownstreamMessage

public DownstreamMessage()
Method Detail

toString

public String toString()
Overrides:
toString in class SimpleStreamableObject