grace.log.test.centralized
Class Receiver

java.lang.Object
  |
  +--grace.log.test.centralized.Receiver

public class Receiver
extends java.lang.Object
implements Handler

This program looks on the given the host (via command line) for any grace.log.Distributers registered in the rmiregistry and installs proxy handlers. Then it starts generating log messages in order to test if each of the distributers are receiving the log messages generated by this class. If a host is not specified on the command line, the localhost rmiregistry is consulted.

To run the full test:


Constructor Summary
Receiver()
           
 
Method Summary
 void handle(Event event)
           
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Receiver

public Receiver()
Method Detail

main

public static void main(java.lang.String[] args)

run

public void run()

handle

public void handle(Event event)
Specified by:
handle in interface Handler