com.sun.jini.example.basic.ex1.event
Class RegisterAndExpire.LookupEventListener

java.lang.Object
  extended bycom.sun.jini.example.basic.ex1.event.RegisterAndExpire.LookupEventListener
All Implemented Interfaces:
java.util.EventListener, java.rmi.Remote, net.jini.core.event.RemoteEventListener
Enclosing class:
RegisterAndExpire

public class RegisterAndExpire.LookupEventListener
extends java.lang.Object
implements net.jini.core.event.RemoteEventListener

Class which handles ALL events sent by the lookup service. This class simply displays the contents of the handback upon the receipt of a ServiceEvent from a lookup service.


Constructor Summary
RegisterAndExpire.LookupEventListener()
           
 
Method Summary
 void notify(net.jini.core.event.RemoteEvent ev)
          Method called remotely by lookup to handle the generated event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterAndExpire.LookupEventListener

public RegisterAndExpire.LookupEventListener()
                                      throws java.rmi.RemoteException
Method Detail

notify

public void notify(net.jini.core.event.RemoteEvent ev)
Method called remotely by lookup to handle the generated event.

Specified by:
notify in interface net.jini.core.event.RemoteEventListener


Copyright © 2003 Sun Microsystems Corp. All Rights Reserved.