com.sun.grizzly.utils.conditions
Class DefaultConditionListener<E>

java.lang.Object
  extended by com.sun.grizzly.utils.conditions.ConditionListener<E,Object>
      extended by com.sun.grizzly.utils.conditions.DefaultConditionListener<E>
Direct Known Subclasses:
OneTimeConditionListener

public class DefaultConditionListener<E>
extends ConditionListener<E,Object>

Author:
oleksiys

Field Summary
 
Fields inherited from class com.sun.grizzly.utils.conditions.ConditionListener
condition, keepAlive, notificationObject
 
Constructor Summary
DefaultConditionListener()
           
DefaultConditionListener(Condition<E> condition, Object notificationObject)
           
 
Method Summary
protected  void notifyListener()
           
static void notifyListenerObject(Object notificationObject)
           
 
Methods inherited from class com.sun.grizzly.utils.conditions.ConditionListener
checkConditionAndNotify, getCondition, getNotificationObject, isKeepAlive, set, setCondition, setKeepAlive, setNotificationObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConditionListener

public DefaultConditionListener()

DefaultConditionListener

public DefaultConditionListener(Condition<E> condition,
                                Object notificationObject)
Method Detail

notifyListenerObject

public static final void notifyListenerObject(Object notificationObject)

notifyListener

protected void notifyListener()
Specified by:
notifyListener in class ConditionListener<E,Object>


Copyright © 2009 SUN Microsystems. All Rights Reserved.