|
![]() |
||||||||||
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.CorbaControlHandlerPOA | +--uk.org.iscream.cms.server.rootfilter.CorbaControlHandlerServant
Acts as a Control Handler to a CORBA based client.
Field Summary | |
private Client |
_client
The "servant" part of the client we're connected to. |
private String |
_clientname
A name to identify the client |
private CorbaDataHandler |
_dataHandler
A reference to our DataHandler, if we have one |
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 Queue |
_queue
A reference to our Queue. |
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.CorbaControlHandlerPOA |
|
Fields inherited from class org.omg.PortableServer.Servant |
|
Constructor Summary | |
CorbaControlHandlerServant(Queue queue,
Client client,
String clientname)
Construct a new CorbaControlHandlerServant. |
Method Summary | |
void |
disconnect()
Disconnect, this will shutdown the data and unhook from the CORBA ORB. |
protected void |
finalize()
Overridden for debugging purposes to see when an instance of this class is destroyed |
boolean |
setHostList(String hostList)
Sets the host list for the Client to the requested semi-colon separated list of hostnames. |
boolean |
startData()
Start sending data to the client. |
boolean |
stopData()
Stop sending data to the client. |
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.CorbaControlHandlerPOA |
_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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final String REVISION
private String _name
private Logger _logger
private ReferenceManager _refman
private Queue _queue
private Client _client
private CorbaDataHandler _dataHandler
private String _clientname
Constructor Detail |
public CorbaControlHandlerServant(Queue queue, Client client, String clientname)
queue
- A reference to the Queue we're usingclient
- A reference to the "servant" part of the connecting client.clientname
- A name to identify the client.Method Detail |
public boolean startData()
public boolean stopData()
public boolean setHostList(String hostList)
hostList
- A semi-colon separated list of hostnames to use.
public void disconnect()
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
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |