Download ORBACUS, this manual

Transcript
Interface OCI::Transport
Parameters:
buf - The buffer to fill.
block - If set to TRUE, the operation blocks until the entire buffer has been sent. If set to
FALSE, the operation sends as much of the buffer’s data as possible without blocking.
Returns:
FALSE if a connection loss is detected, TRUE otherwise.
Raises:
COMM_FAILURE - In case of an error.
send_timeout
void send_timeout(in Buffer buf,
in unsigned long timeout);
Similar to send, but it is possible to specify a timeout. On return the caller can test whether
there was a timeout by checking if the buffer has been sent completely.
Parameters:
buf - The buffer to send.
timeout - The timeout value in milliseconds. A zero timeout is equivalent to calling
send(buf, FALSE).
Raises:
COMM_FAILURE - In case of an error.
get_info
TransportInfo get_info();
Returns the information object associated with the Transport.
Returns:
The Transport information object.
ORBacus
329