|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.io.SimpleStreamableObject
com.threerings.export.util.StreamableWrapper
public class StreamableWrapper
Wraps an exportable object so that it can be streamed (in an inefficient manner, by creating
a new BinaryExporter).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
protected Object |
_object
The wrapped object. |
| Constructor Summary | |
|---|---|
StreamableWrapper()
No-arg constructor for deserialization. |
|
StreamableWrapper(Object object)
Creates a new wrapper for the specified object. |
|
| Method Summary | |
|---|---|
Object |
getObject()
Returns a reference to the wrapped object. |
void |
readObject(ObjectInputStream in)
Reads the object state from the specified stream. |
void |
writeObject(ObjectOutputStream out)
Writes the object to the specified stream. |
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
|---|
toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Object _object
| Constructor Detail |
|---|
public StreamableWrapper(Object object)
public StreamableWrapper()
| Method Detail |
|---|
public Object getObject()
public void writeObject(ObjectOutputStream out)
throws IOException
IOException
public void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||