org.glassfish.grizzly.util
Class ArrayIOEventMask
java.lang.Object
org.glassfish.grizzly.util.ArrayIOEventMask
- All Implemented Interfaces:
- IOEventMask
public class ArrayIOEventMask
- extends Object
- implements IOEventMask
Array based IOEventMask implementation
- Author:
- Alexey Stashok
ArrayIOEventMask
public ArrayIOEventMask()
ArrayIOEventMask
public ArrayIOEventMask(boolean enableAllInterests)
ArrayIOEventMask
public ArrayIOEventMask(IOEvent... ioEvents)
- Costructs
IOEventMask, with specific enabled interests
- Parameters:
ioEvents - the array of IOEvents, which are initially
interested.
ArrayIOEventMask
public ArrayIOEventMask(IOEventMask mask)
- Copy constructor
- Parameters:
mask - pattern IOEventMask
isInterested
public boolean isInterested(IOEvent ioEvent)
- Specified by:
isInterested in interface IOEventMask
setInterested
public void setInterested(IOEvent ioEvent,
boolean isInterested)
- Specified by:
setInterested in interface IOEventMask
or
public IOEventMask or(IOEventMask mask)
- Specified by:
or in interface IOEventMask
and
public IOEventMask and(IOEventMask mask)
- Specified by:
and in interface IOEventMask
xor
public IOEventMask xor(IOEventMask mask)
- Specified by:
xor in interface IOEventMask
inv
public IOEventMask inv()
- Specified by:
inv in interface IOEventMask
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009 SUN Microsystems. All Rights Reserved.