|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.LocalObject
org.apache.yoko.orb.OCI.IIOP.TransportInfo_impl
public final class TransportInfo_impl
Method Summary | |
---|---|
ListenPoint[] |
_OB_getListenPoints()
|
void |
_OB_setListenPoints(ListenPoint[] lp)
|
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. |
String |
addr()
The local IP address. |
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. |
short |
port()
The local port. |
boolean |
received_bidir_SCL()
Queries whether this' transport has received a BiDir SCL in a request. |
String |
remote_addr()
The remote IP address. |
short |
remote_port()
The remote port. |
void |
remove_close_cb(CloseCB cb)
Remove a close callback. |
Socket |
socket()
|
int |
tag()
The profile id tag. |
Methods inherited from class org.omg.CORBA.LocalObject |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Method Detail |
---|
public String id()
TransportInfoOperations
id
in interface TransportInfoOperations
public int tag()
TransportInfoOperations
tag
in interface TransportInfoOperations
public short origin()
TransportInfoOperations
origin
in interface TransportInfoOperations
CLIENT_SIDE
if transport was initially
created as a client side connection. SERVER_SIDE
if transport was initially created to handle incoming requests.public String describe()
TransportInfoOperations
describe
in interface TransportInfoOperations
public ConnectorInfo connector_info()
TransportInfoOperations
connector_info
in interface TransportInfoOperations
public AcceptorInfo acceptor_info()
TransportInfoOperations
acceptor_info
in interface TransportInfoOperations
public void add_close_cb(CloseCB cb)
TransportInfoOperations
add_close_cb
in interface TransportInfoOperations
cb
- The callback to add.public void remove_close_cb(CloseCB cb)
TransportInfoOperations
remove_close_cb
in interface TransportInfoOperations
cb
- The callback to remove.public Socket socket()
public String addr()
TransportInfoOperations
public short port()
TransportInfoOperations
public String remote_addr()
TransportInfoOperations
public short remote_port()
TransportInfoOperations
public ServiceContext[] get_service_contexts(Policy[] policies)
TransportInfoOperations
get_service_contexts
in interface TransportInfoOperations
policies
- The CORBA Policy list.
public void handle_service_contexts(ServiceContext[] contexts)
TransportInfoOperations
handle_service_contexts
in interface TransportInfoOperations
contexts
- The service context listpublic boolean received_bidir_SCL()
TransportInfoOperations
received_bidir_SCL
in interface TransportInfoOperations
public boolean endpoint_alias_match(ConnectorInfo connInfo)
TransportInfoOperations
endpoint_alias_match
in interface TransportInfoOperations
public ListenPoint[] _OB_getListenPoints()
public void _OB_setListenPoints(ListenPoint[] lp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |