Interface OCI::TransportInfo

interface TransportInfo

Information on an OCI Transport object. Objects of this type must be narrowed to a Transport information object for a concrete protocol implementation, for example to OCI::IIOP::TransportInfo in case the plug-in implements IIOP.

See Also:
Transport


Attribute Index

acceptor_info
The AcceptorInfo object for the Acceptor that created the Transport object that this TransportInfo object belongs to.
connector_info
The ConnectorInfo object for the Connector that created the Transport object that this TransportInfo object belongs to.
tag
The profile id tag.

Operation Index

add_close_cb
Add a callback that is called before a connection is closed.
remove_close_cb
Remove a close callback.

Attributes

acceptor_info
readonly attribute AcceptorInfo acceptor_info;

The AcceptorInfo object for the Acceptor that created the Transport object that this TransportInfo object belongs to. If the Transport for this TransportInfo was not created by an Acceptor, this attribute is set to the nil object reference.


connector_info
readonly attribute ConnectorInfo connector_info;

The ConnectorInfo object for the Connector that created the Transport object that this TransportInfo object belongs to. If the Transport for this TransportInfo was not created by a Connector, this attribute is set to the nil object reference.


tag
readonly attribute ProfileId tag;

The profile id tag.



Operations

add_close_cb
void add_close_cb(in CloseCB cb);

Add a callback that is called before a connection is closed. If the callback has already been registered, this method has no effect.

Parameters:
cb - The callback to add.

remove_close_cb
void remove_close_cb(in CloseCB cb);

Remove a close callback. If the callback was not registered, this method has no effect.

Parameters:
cb - The callback to remove.


Generated by the ORBacus IDL-to-HTML translator (non-commercial)