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

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by uk.org.iscream.cms.server.filter.FilterInfoPOA
          extended by uk.org.iscream.cms.server.filter.FilterInfoServant
All Implemented Interfaces:
InvokeHandler, FilterInfoOperations

 class FilterInfoServant
extends FilterInfoPOA

Provides info about Filter's to other parts of the system.

Version:
$Id: FilterInfoServant.java,v 1.6 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  int _UDPListenPort
          The UDP port we're listening on
 String REVISION
          The current CVS revision of this class
 
Constructor Summary
FilterInfoServant(int UDPListenPort)
          Creates a new FilterServant.
 
Method Summary
 String getHostName()
          Provides information to the FilterManager
 String getUDPPort()
          Provides information to the FilterManager
 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.FilterInfoPOA
_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.


_UDPListenPort

private int _UDPListenPort
The UDP port we're listening on

Constructor Detail

FilterInfoServant

public FilterInfoServant(int UDPListenPort)
Creates a new FilterServant.

Parameters:
UDPListenPort - the UDP port this filter is listening on
Method Detail

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

getUDPPort

public String getUDPPort()
Provides information to the FilterManager


getHostName

public String getHostName()
Provides information to the FilterManager



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