|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorOperations
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.
ConFactory
,
Transport
Method Summary | |
---|---|
Transport |
connect_timeout(int timeout)
Similar to connect , but it is possible to specify
a timeout. |
Transport |
connect()
Used by CORBA clients to establish a connection to a CORBA server. |
boolean |
equal(Connector con)
Find out whether this Connector is equal to another Connector. |
ConnectorInfo |
get_info()
Returns the information object associated with the Connector. |
ProfileInfo[] |
get_usable_profiles(IOR ref,
Policy[] policies)
From the given IOR and list of policies, get basic information about all profiles for which this Connector can be used. |
String |
id()
The plugin id. |
int |
tag()
The profile id tag. |
Method Detail |
---|
String id()
int tag()
Transport connect()
TRANSIENT
- If the server cannot be contacted.
COMM_FAILURE
- In case of other errors.Transport connect_timeout(int timeout)
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.
TRANSIENT
- If the server cannot be contacted.
COMM_FAILURE
- In case of other errors.ProfileInfo[] get_usable_profiles(IOR ref, Policy[] policies)
ref
- The IOR from which the profiles are taken.policies
- The policies that must be satisfied.
boolean equal(Connector con)
con
- The connector to compare with.
TRUE
if the Connectors are equal,
FALSE
otherwise.ConnectorInfo get_info()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |