com.neeve.emx
Class EmxNwLnkOpWaitCond

java.lang.Object
  extended by com.neeve.emx.EmxNwLnkOpWaitCond

public final class EmxNwLnkOpWaitCond
extends Object

Contains network link operation wait conditions.

This class contains events to wait on to detect the triggering of network link conditions. An instance of this class is provided to methods that perform network operations i.e. accept, connect, read and write. Upon return from the methods, the object contains events which the caller uses to be notified when the network link condition associated with the operation has triggerd and, thus, when the operation should be invoked again. The events contained in this class are EMX events that can be scheduled with an EMX dispatcher.


Constructor Summary
EmxNwLnkOpWaitCond()
          Create a network link operations retry wait conditions object
 
Method Summary
 EmxNwLnkOpWaitCond add(IEmxEvent event)
          Add a condition to the stored condition list.
 cern.colt.list.ObjectArrayList list()
          Return the stored condition list
 EmxNwLnkOpWaitCond remove(IEmxEvent event)
          Remove a condition from the stored condition list.
 EmxNwLnkOpWaitCond reset()
          Clear the stored list of conditions.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmxNwLnkOpWaitCond

public EmxNwLnkOpWaitCond()
Create a network link operations retry wait conditions object

Method Detail

add

public final EmxNwLnkOpWaitCond add(IEmxEvent event)
Add a condition to the stored condition list.

Returns:
Returns this object.

remove

public final EmxNwLnkOpWaitCond remove(IEmxEvent event)
Remove a condition from the stored condition list.

Returns:
Returns this object.

list

public final cern.colt.list.ObjectArrayList list()
Return the stored condition list


reset

public final EmxNwLnkOpWaitCond reset()
Clear the stored list of conditions.

Returns:
Returns this object.


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.