public interface IConnection
Modifier and Type | Method and Description |
---|---|
void |
beginTransaction()
Start a transaction on this connection
|
void |
dispose()
Dispose the connection.
|
void |
endTransaction()
End a transaction on this connection
|
NCMap |
handshake() |
void |
invalidate()
Invalidate the connection.
|
boolean |
isValid() |
NCType |
read(int timeout)
Reads an NCType message object from this connection.
|
void |
write(INCExternalizable message,
int timeout)
Serializes an NCType over this connection.
|
void beginTransaction()
NCType read(int timeout) throws NativeCommException
timeout
- - timeout in millisecondsNativeCommException
- on errorvoid write(INCExternalizable message, int timeout) throws NativeCommException
message
- - externalizable message object to sendtimeout
- - timeout in millisecondsNativeCommException
- on errorvoid endTransaction()
boolean isValid()
NCMap handshake()
void dispose()
void invalidate()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"