|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransportInfoOperations
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.
Transport| Method Summary | |
|---|---|
AcceptorInfo |
acceptor_info()
The AcceptorInfo object for the Acceptor that created the Transport object that this TransportInfo object belongs to. |
void |
add_close_cb(CloseCB cb)
Add a callback that is called before a connection is closed. |
ConnectorInfo |
connector_info()
The ConnectorInfo object for the Connector that created the Transport object that this TransportInfo object belongs to. |
String |
describe()
Returns a human readable description of the transport. |
boolean |
endpoint_alias_match(ConnectorInfo connInfo)
Uses the BiDir SCL information in this TransportInfo to check whether we can be used as a BiDir connection alias instead of creating a new connection with the information specified in the ConnectorInfo paramater |
ServiceContext[] |
get_service_contexts(Policy[] policies)
Returns a sequence of service contexts for this transport based on the policies. |
void |
handle_service_contexts(ServiceContext[] contexts)
Handles service contexts that might be received during a request. |
String |
id()
The plugin id. |
short |
origin()
The origin indicates whether the transport was originally created by a server side accept or a client side connect. |
boolean |
received_bidir_SCL()
Queries whether this' transport has received a BiDir SCL in a request. |
void |
remove_close_cb(CloseCB cb)
Remove a close callback. |
int |
tag()
The profile id tag. |
| Method Detail |
|---|
String id()
int tag()
ConnectorInfo connector_info()
AcceptorInfo acceptor_info()
short origin()
CLIENT_SIDE if transport was initially
created as a client side connection. SERVER_SIDE
if transport was initially created to handle incoming requests.String describe()
void add_close_cb(CloseCB cb)
cb - The callback to add.void remove_close_cb(CloseCB cb)
cb - The callback to remove.ServiceContext[] get_service_contexts(Policy[] policies)
policies - The CORBA Policy list.
void handle_service_contexts(ServiceContext[] contexts)
contexts - The service context listboolean received_bidir_SCL()
boolean endpoint_alias_match(ConnectorInfo connInfo)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||