org.semispace
Class ListenerHolder

java.lang.Object
  extended by org.semispace.ListenerHolder

public class ListenerHolder
extends Object

Holds a reference to the listener, including how long it shall live.


Constructor Summary
ListenerHolder(long id, SemiEventListener listener, long liveUntil, Map<String,String> map)
           
 
Method Summary
 long getId()
           
 SemiEventListener getListener()
           
 long getLiveUntil()
           
 Map<String,String> getSearchMap()
           
protected  void setLiveUntil(long liveUntil)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerHolder

public ListenerHolder(long id,
                      SemiEventListener listener,
                      long liveUntil,
                      Map<String,String> map)
Method Detail

getListener

public SemiEventListener getListener()

getLiveUntil

public long getLiveUntil()

getSearchMap

public Map<String,String> getSearchMap()

getId

public long getId()

setLiveUntil

protected void setLiveUntil(long liveUntil)


Copyright © 2008-2012. All Rights Reserved.