edu.jhu.cnds.FrugalTest
Class FrugalClient

java.lang.Object
  |
  +--edu.jhu.cnds.FrugalTest.FrugalClient

public class FrugalClient
extends java.lang.Object
implements net.jini.discovery.DiscoveryListener

A sample client designed to demonstrate the Frugal package for Jini.

Version:
2.0
Author:
R. Sean Borgstrom

Constructor Summary
FrugalClient()
          The constructor sets a security manager and starts the process of Jini discovery.
 
Method Summary
 void discarded(net.jini.discovery.DiscoveryEvent evt)
          Called when a lookup service registar is discarded.
 void discovered(net.jini.discovery.DiscoveryEvent evt)
          Called when lookup services are discovered.
static void main(java.lang.String[] argv)
          Invoked to start the demonstration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrugalClient

public FrugalClient()
The constructor sets a security manager and starts the process of Jini discovery.
Method Detail

main

public static void main(java.lang.String[] argv)
Invoked to start the demonstration.
Parameters:
argv - List of argument strings, presumably null.

discovered

public void discovered(net.jini.discovery.DiscoveryEvent evt)
Called when lookup services are discovered.
Specified by:
discovered in interface net.jini.discovery.DiscoveryListener
Parameters:
evt - A DiscoveryEvent describing the service(s) found.

discarded

public void discarded(net.jini.discovery.DiscoveryEvent evt)
Called when a lookup service registar is discarded.
Specified by:
discarded in interface net.jini.discovery.DiscoveryListener
Parameters:
evt - A DiscoveryEvent describing the discarded registrars.