public interface InvocationInput extends ObjectInput, Closeable
InvocationOutput| Modifier and Type | Method and Description |
|---|---|
Object |
readObject()
Reads a sharable Serializable or Remote object.
|
Throwable |
readThrowable()
If remote exception cannot be represented by a local exception class
or it cannot be serialized, it is represented as a RemoteException
instead, with as much useful information as possible, including server
stack trace.
|
Object |
readUnshared()
Reads an unshared Serializable or Remote object.
|
String |
readUnsharedString()
Reads the length and of contents the String from a packed format similar
to UTF-8.
|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesString readUnsharedString() throws IOException
IOExceptionObject readUnshared() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionObject readObject() throws IOException, ClassNotFoundException
readObject in interface ObjectInputIOExceptionClassNotFoundExceptionThrowable readThrowable() throws IOException, ReconstructedException
If remote exception cannot be represented by a local exception class or it cannot be serialized, it is represented as a RemoteException instead, with as much useful information as possible, including server stack trace.
IOExceptionReconstructedExceptionCopyright © 2006–2015 Cojen. All rights reserved.