|
||||||||||
| 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 |
|---|
com.threerings.io.Streamable.Closure |
| 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(com.threerings.io.ObjectInputStream in)
Reads the object state from the specified stream. |
void |
writeObject(com.threerings.io.ObjectOutputStream out)
Writes the object to the specified stream. |
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StreamableWrapper(Object object)
public StreamableWrapper()
| Method Detail |
|---|
public Object getObject()
public void writeObject(com.threerings.io.ObjectOutputStream out)
throws IOException
IOException
public void readObject(com.threerings.io.ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||