public class ClientManagerImpl extends java.lang.Object implements ClientManager
| Constructor and Description |
|---|
ClientManagerImpl(org.omg.CORBA.ORB orb) |
ClientManagerImpl(org.omg.CORBA.ORB orb,
ServerManager serverManager) |
| Modifier and Type | Method and Description |
|---|---|
ClientBinding[] |
create_bindings(org.omg.CORBA.Object obj,
org.omg.IOP.IOR ior)
Create bindings for a given IOR.
|
ServerManager |
getServerManager()
Get a reference to the server manager.
|
org.omg.CORBA.ORB |
orb()
Return an orb reference.
|
boolean |
register_channel(ClientChannel channel)
Register a channel to join the work queue.
|
void |
register_protocol(int profile_tag,
ClientProtocol protocol)
Register a client protocol.
|
void |
shutdown(boolean wait_for_complete,
boolean kill_requests)
Shutdown the client side of the orb.
|
void |
unregister_channel(ClientChannel channel)
Called when a channel enters the closed or paused state.
|
public ClientManagerImpl(org.omg.CORBA.ORB orb)
public ClientManagerImpl(org.omg.CORBA.ORB orb,
ServerManager serverManager)
public org.omg.CORBA.ORB orb()
orb in interface ClientManagerpublic ServerManager getServerManager()
getServerManager in interface ClientManagerpublic ClientBinding[] create_bindings(org.omg.CORBA.Object obj, org.omg.IOP.IOR ior)
create_bindings in interface ClientManagerobj - target object.ior - IOR of target.public void register_protocol(int profile_tag,
ClientProtocol protocol)
register_protocol in interface ClientManagerpublic boolean register_channel(ClientChannel channel)
register_channel in interface ClientManagerpublic void unregister_channel(ClientChannel channel)
unregister_channel in interface ClientManagerpublic void shutdown(boolean wait_for_complete,
boolean kill_requests)
ClientManagershutdown in interface ClientManagerwait_for_complete - true if the operation should not return
until the client side is shut down.kill_requests - true if requests which are currently being
processed should be killed.