com.threerings.io
Class SimpleStreamableObject

java.lang.Object
  extended by com.threerings.io.SimpleStreamableObject
All Implemented Interfaces:
Streamable
Direct Known Subclasses:
BootstrapData, ChatChannel, ClientInfo, ClientLocal, DObjectAddress, Message, Name, NodeObject.CacheData, NodeObject.Lock, OccupantInfo, Place, PlaceConfig, TokenRing

public class SimpleStreamableObject
extends Object
implements Streamable

A simple serializable object implements the Streamable interface and provides a default Object.toString() implementation which outputs all public members.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
Streamable.Closure
 
Constructor Summary
SimpleStreamableObject()
           
 
Method Summary
 String toString()
           
protected  void toString(StringBuilder buf)
          Handles the toString-ification of all public members.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleStreamableObject

public SimpleStreamableObject()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toString

protected void toString(StringBuilder buf)
Handles the toString-ification of all public members. Derived classes can override and include non-public members if desired.