|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.PortableServer.Servant | +--uk.org.iscream.cms.server.clientinterface.CorbaClientListenerPOA | +--uk.org.iscream.cms.server.clientinterface.CorbaClientListenerServant
This class, a servant, listens for incoming connections from CORBA based clients. Once it receives a connection it creates and assigns a CorbaControlHandler object to it. The CorbaControlHandler will then handle all requests on behalf of the client, and will send the client data.
Field Summary | |
private Logger |
_logger
This holds a reference to the system logger that is being used. |
private String |
_name
This is the friendly identifier of the component this class is running in. |
private PacketSorter |
_packetSorter
A reference to the PacketSorter. |
private ReferenceManager |
_refman
A reference to the reference manager in use |
String |
REVISION
The current CVS revision of this class |
Fields inherited from class uk.org.iscream.cms.server.clientinterface.CorbaClientListenerPOA |
|
Fields inherited from class org.omg.PortableServer.Servant |
|
Constructor Summary | |
CorbaClientListenerServant(PacketSorter packetSorter)
Creates a new CorbaClientListenerServant. |
Method Summary | |
CorbaControlHandler |
connect(Client client,
String name)
Allows a CORBA client to connect to the server. |
String |
toString()
Overrides the Object.toString()
method to provide clean logging (every class should have this). |
Methods inherited from class uk.org.iscream.cms.server.clientinterface.CorbaClientListenerPOA |
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final String REVISION
private String _name
private Logger _logger
private ReferenceManager _refman
private PacketSorter _packetSorter
Constructor Detail |
public CorbaClientListenerServant(PacketSorter packetSorter)
packetSorter
- a reference to the PacketSorter object being usedMethod Detail |
public CorbaControlHandler connect(Client client, String name)
client
- a reference to the "servant" part of the connecting client.name
- a name to identify the client.
public String toString()
Object.toString()
method to provide clean logging (every class should have this).
This uses the uk.org.iscream.cms.util.NameFormat class
to format the toString()
toString
in class Object
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |