uk.org.iscream.cms.server.clientinterface
Class ClientInterfaceServant

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--uk.org.iscream.cms.server.clientinterface.ClientPOA
              |
              +--uk.org.iscream.cms.server.clientinterface.ClientInterfaceServant
All Implemented Interfaces:
ClientOperations, InvokeHandler

class ClientInterfaceServant
extends ClientPOA

This class, a servant, listens for incoming data sent to it using CORBA. This data is then queued in the PacketSorter. It does no processing of the data, and is only a seperate class to keep the CORBA stuff out of the PacketSorter.

Version:
$Id: ClientInterfaceServant.java,v 1.15 2003/05/05 22:05:06 tdb Exp $
Author:
$Author: tdb $

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  Queue _queue
          A reference to the Queue we'll add data to.
 String REVISION
          The current CVS revision of this class
 
Fields inherited from class uk.org.iscream.cms.server.clientinterface.ClientPOA
 
Fields inherited from class org.omg.PortableServer.Servant
 
Constructor Summary
ClientInterfaceServant(PacketSorter packetSorter)
          Creates a new ClientInterfaceServant.
 
Method Summary
 void receiveXML(String xml)
          Method to receive a string over CORBA.
 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.ClientPOA
_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

REVISION

public final String REVISION
The current CVS revision of this class

See Also:
Constant Field Values

_name

private String _name
This is the friendly identifier of the component this class is running in. eg, a Filter may be called "filter1", If this class does not have an owning component, a name from the configuration can be placed here. This name could also be changed to null for utility classes.


_logger

private Logger _logger
This holds a reference to the system logger that is being used.


_queue

private Queue _queue
A reference to the Queue we'll add data to. This is actually located in the PacketSorter.

Constructor Detail

ClientInterfaceServant

public ClientInterfaceServant(PacketSorter packetSorter)
Creates a new ClientInterfaceServant.

Parameters:
packetSorter - a reference to the PacketSorter object being used
Method Detail

receiveXML

public void receiveXML(String xml)
Method to receive a string over CORBA.

Parameters:
xml - the XML string to be queued for processing.

toString

public String toString()
Overrides the 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()

Overrides:
toString in class Object
Returns:
the name of this class and its CVS revision


Copyright © 2000-2003 i-scream. All Rights Reserved.