org.semispace.comet.client.notification
Class ToBeNotified

java.lang.Object
  extended by org.semispace.comet.client.notification.ToBeNotified
All Implemented Interfaces:
SemiEventListener

public class ToBeNotified
extends Object
implements SemiEventListener


Constructor Summary
ToBeNotified(boolean toCancelLease)
           
 
Method Summary
 int getNotified()
           
 void notify(SemiEvent theEvent)
          synchronized in order to avoid it being called twice (as it may be removed)
 void setNotify(SemiEventRegistration lease)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToBeNotified

public ToBeNotified(boolean toCancelLease)
Method Detail

getNotified

public int getNotified()

notify

public void notify(SemiEvent theEvent)
synchronized in order to avoid it being called twice (as it may be removed)

Specified by:
notify in interface SemiEventListener

setNotify

public void setNotify(SemiEventRegistration lease)


Copyright © 2008-2012. All Rights Reserved.