com.threerings.presents.client
Class ClientObjectInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
com.threerings.io.ObjectInputStream
com.threerings.presents.client.ClientObjectInputStream
- All Implemented Interfaces:
- Closeable, DataInput
public class ClientObjectInputStream
- extends ObjectInputStream
A specialized ObjectInputStream used in conjunction with Client to allow
instances that are read from the stream to obtain a client reference "on their way in". We use
this to allow invocation marshallers to get a reference to the client with which they are
associated when they are streamed in over the network.
|
Field Summary |
Client |
client
The client with which this input stream is associated. |
| Methods inherited from class com.threerings.io.ObjectInputStream |
addTranslation, createClassMapping, defaultReadObject, mapClass, mapIntern, readBareObject, readBareObject, readClassMapping, readIntern, readObject, readUnmodifiedUTF, setClassLoader, toString |
| Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
client
public final Client client
- The client with which this input stream is associated.
ClientObjectInputStream
public ClientObjectInputStream(Client client,
InputStream source)