public class RemoteObjectOutputStream extends ObjectOutputStream
ObjectOutputStream.PutFieldbaseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING| Constructor and Description |
|---|
RemoteObjectOutputStream(OutputStream os,
RemoteObjectOutputStream ros) |
RemoteObjectOutputStream(VirtualSocket socket) |
RemoteObjectOutputStream(VirtualSocket socket,
ConcurrentHashMap<String,Integer> hmClassDesc,
AtomicInteger aiClassDesc) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
writeAsciiString(String s) |
protected void |
writeClassDescriptor(ObjectStreamClass desc) |
protected void |
writeStreamHeader() |
annotateClass, annotateProxyClass, close, defaultWriteObject, drain, enableReplaceObject, putFields, replaceObject, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeUnshared, writeUTFpublic RemoteObjectOutputStream(VirtualSocket socket) throws IOException
IOExceptionpublic RemoteObjectOutputStream(OutputStream os, RemoteObjectOutputStream ros) throws IOException
IOExceptionpublic RemoteObjectOutputStream(VirtualSocket socket, ConcurrentHashMap<String,Integer> hmClassDesc, AtomicInteger aiClassDesc) throws IOException
IOExceptionprotected void writeStreamHeader()
throws IOException,
StreamCorruptedException
writeStreamHeader in class ObjectOutputStreamIOExceptionStreamCorruptedExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in interface ObjectOutputflush in class ObjectOutputStreamIOExceptionprotected void writeClassDescriptor(ObjectStreamClass desc) throws IOException
writeClassDescriptor in class ObjectOutputStreamIOExceptionpublic void writeAsciiString(String s) throws IOException, StreamCorruptedException
IOExceptionStreamCorruptedExceptionCopyright © 1999–2025 ViaOA. All rights reserved.