public interface ODSReadTransferOperations
| Modifier and Type | Method and Description |
|---|---|
void |
close()
(31000)
Close this ODSReadTransfer interface.
|
byte[] |
getOctetSeq(int maxOctets)
(31001)
Read a sequence of bytes from the file.
|
T_LONGLONG |
getPosition()
(31003)
Retrieve the current position of the internal read pointer in the
file.
|
T_LONGLONG |
skipOctets(T_LONGLONG numOctets)
(31002)
Skip a number of bytes while reading the file.
|
void close()
throws AoException
AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEbyte[] getOctetSeq(int maxOctets)
throws AoException
maxOctets - The maximum number of bytes to be returned by one
method call.AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_SYSTEM_PROBLEM
AO_BAD_PARAMETERT_LONGLONG skipOctets(T_LONGLONG numOctets) throws AoException
numOctets - The number of bytes to be skipped.AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_BAD_PARAMETERT_LONGLONG getPosition() throws AoException
AoException - with the following possible error codes:
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE