An interface for Connector objects. A Connector is used by CORBA clients to initiate a connection to a server. It also provides operations for the management of IOR profiles.
connect
, but it is possible to specify
a timeout.
readonly attribute ProfileId tag;
The profile id tag.
Transport connect();
Used by CORBA clients to establish a connection to a CORBA server. It returns a Transport object, which can be used for sending and receiving octet streams to and from the server.
Transport connect_timeout(in unsigned long timeout);
Similar to connect
, but it is possible to specify
a timeout. On return the caller can test whether there was a
timeout by checking whether a nil object reference was returned.
timeout
- The timeout value in milliseconds.
ConnectorInfo get_info();
Returns the information object associated with the Connector.
ObjectKey is_usable(in IOR ior);
Checks whether this Connector can be used for a specific IOR. That is, the IOR must contain at least one profile that matches this Connector.
ior
- The IOR to check for.
ObjectKey is_usable_with_policies(in IOR ior, in CORBA::PolicyList policies);
Checks whether this Connector can be used for a specific IOR with a given set of polcies. That is, the IOR must contain at least one profile that matches this Connector and the Connector must also satisfy the provided list of policies for the given IOR.
ior
- The IOR to check for.
policies
- The policies that must be satisfied.
Generated by the ORBacus IDL-to-HTML translator (non-commercial)