public interface ISerializer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HANDSHAKE_CLIENT_ID
key used in handshake dictionary
|
static java.lang.String |
HANDSHAKE_PROCESS_ID
key used in handshake dictionary
|
static java.lang.String |
HANDSHAKE_PROTO
key used in handshake dictionary
|
static java.lang.String |
HANDSHAKE_VERSION
key used in handshake dictionary
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(boolean sendShutdownMessage)
Close the internal input/output streams
|
ISerializer |
flush()
Flush buffered data if any
|
NCMap |
handshake() |
boolean |
isValid()
Returns true if the ISerializer object is valid
|
NCType |
read()
Reads a
NCType object from a DataInput. |
ISerializer |
write(NCType val)
Writes an
NCType object to a DataOutput. |
static final java.lang.String HANDSHAKE_VERSION
static final java.lang.String HANDSHAKE_PROTO
static final java.lang.String HANDSHAKE_CLIENT_ID
static final java.lang.String HANDSHAKE_PROCESS_ID
NCMap handshake()
NCType read() throws java.io.IOException
NCType object from a DataInput.NCType object from the specified DataInputjava.io.IOException - on I/O failureISerializer write(NCType val) throws java.io.IOException
NCType object to a DataOutput.val - NCType to writejava.io.IOException - on I/O failureISerializer flush() throws java.io.IOException
java.io.IOException - on errorboolean isValid()
void dispose(boolean sendShutdownMessage)
sendShutdownMessage - - if true sends a shutdown message before disposalCopyright © 2010 - 2023 Adobe. All Rights Reserved