|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.iscream.cms.server.client.ClientMain
A startup component for the Local Clients. This class starts the CORBA client used for alerting purposes. It reads data using the ClientServant from CORBA calls by the i-scream client interface. This data is then used by the MonitorManager to pass to Monitors. Monitors then analyse the data and raise alerts if needed, these are passed to the Alerters, which send out alerts. They are looked after by the AlerterManager.
Field Summary | |
static Queue |
_alerterQueue
A queue for the alerter manager |
private Logger |
_logger
This holds a reference to the system logger that is being used. |
static Queue |
_monitorQueue
A queue for the monitor manager |
private ReferenceManager |
_refman
A reference to the reference manager in use |
static String |
NAME
The friendly name for this component, used by all related classes. |
static String |
REVISION
The current CVS revision of this class |
Constructor Summary | |
ClientMain()
|
Method Summary | |
boolean |
depCheck()
Does a dependency check. |
void |
start()
This starts the Local Client component. |
String |
toString()
Overrides the Object.toString()
method to provide clean logging (every class should have this). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String REVISION
public static final String NAME
private Logger _logger
private ReferenceManager _refman
public static Queue _alerterQueue
public static Queue _monitorQueue
Constructor Detail |
public ClientMain()
Method Detail |
public void start() throws ComponentStartException
start
in interface Component
ComponentStartException
- if the component fails to startpublic boolean depCheck()
depCheck
in interface Component
public String toString()
Object.toString()
method to provide clean logging (every class should have this).
This uses the uk.org.iscream.cms.util.FormatName 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 |