public interface InvocationOutput extends ObjectOutput, Flushable, Closeable
InvocationInput| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Resets the stream for reuse.
|
void |
writeObject(Object obj)
Writes a sharable Serializable or Remote object.
|
void |
writeThrowable(Throwable t)
Writes the given Throwable with additional remote information.
|
void |
writeUnshared(Object obj)
Writes an unshared Serializable or Remote object.
|
void |
writeUnsharedString(String str)
Writes the length and contents of the String in a packed format similar
to UTF-8.
|
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFvoid writeUnsharedString(String str) throws IOException
str - string of any length or nullIOExceptionvoid writeUnshared(Object obj) throws IOException
IOExceptionvoid writeObject(Object obj) throws IOException
writeObject in interface ObjectOutputIOExceptionvoid writeThrowable(Throwable t) throws IOException
IOExceptionvoid reset()
throws IOException
IOExceptionCopyright © 2006–2015 Cojen. All rights reserved.