public interface WorkContextOutput extends DataOutput
WorkConectOutput
is a primitive stream used for
marshaling WorkContext
implementations. It is
necessary to limit the types that can be marshaled as part of a
WorkArea
so that efficient representations can be
implemented in a variety of protocols. This representation can also
be transparent, enabling runtime filtering in SOAP and other
protocols.WorkContextInput
Modifier and Type | Method and Description |
---|---|
void |
writeASCII(String s)
Writes an 8-bit, variable-length, string to the underlying data
stream.
|
void |
writeContext(WorkContext ctx)
Writes the implementation of
WorkContext to the
underlying data stream. |
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
void writeASCII(String s) throws IOException
DataOutput.writeBytes(java.lang.String)
but the
length of the string is also encoded.IOException
void writeContext(WorkContext ctx) throws IOException
WorkContext
to the
underlying data stream. The actual class is encoded in the stream
so that remote java implementations can decode it.IOException