Files
narya/src/java/com/threerings/presents/net/DownstreamMessage.java
T
Michael Bayne 48823b10f9 More revamped serialization cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2079 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-20 23:41:27 +00:00

30 lines
832 B
Java

//
// $Id: DownstreamMessage.java,v 1.11 2002/12/20 23:41:26 mdb Exp $
package com.threerings.presents.net;
import com.threerings.io.SimpleStreamableObject;
/**
* 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.
*/
public abstract class DownstreamMessage extends SimpleStreamableObject
{
/**
* 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).
*/
public short messageId = -1;
/**
* Generates a string representation of this instance.
*/
public String toString ()
{
return "[msgid=" + messageId + "]";
}
}