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

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

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

Class which handles ALL events sent by the lookup service Upon the receipt of a ServiceEvent from a lookup service, this class first displays the contents of the handback, then re-registers the service.


Constructor Summary
SrvcAndEvntExpire.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

SrvcAndEvntExpire.LookupEventListener

public SrvcAndEvntExpire.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.