uk.org.iscream.cms.server.filter
Class FilterServant

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byuk.org.iscream.cms.server.filter.FilterPOA
          extended byuk.org.iscream.cms.server.filter.FilterServant
All Implemented Interfaces:
FilterOperations, InvokeHandler

class FilterServant
extends FilterPOA

Passes inbound data from other Filters to a FilterThread

Version:
$Id: FilterServant.java,v 1.23 2004/08/01 10:40:58 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
          Our Queue object
 String REVISION
          The current CVS revision of this class
 
Fields inherited from class uk.org.iscream.cms.server.filter.FilterPOA
 
Fields inherited from class org.omg.PortableServer.Servant
 
Constructor Summary
FilterServant(Queue queue)
          Creates a new FilterServant.
 
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.filter.FilterPOA
_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
Our Queue object

Constructor Detail

FilterServant

public FilterServant(Queue queue)
Creates a new FilterServant.

Parameters:
queue - the Queue this filter is using
Method Detail

receiveXML

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

Parameters:
xml - the String of XML to queue

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()

Returns:
the name of this class and its CVS revision


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