|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TrafficMask | |
---|---|
org.apache.mina.common | Common types required for users to use MINA. |
Uses of TrafficMask in org.apache.mina.common |
---|
Fields in org.apache.mina.common declared as TrafficMask | |
---|---|
static TrafficMask |
TrafficMask.ALL
This mask resumes both reads and writes if any of them were suspended. |
static TrafficMask |
TrafficMask.NONE
This mask suspends both reads and writes. |
static TrafficMask |
TrafficMask.READ
This mask suspends writes, and resumes reads if reads were suspended. |
static TrafficMask |
TrafficMask.WRITE
This mask suspends reads, and resumes writes if writes were suspended. |
Methods in org.apache.mina.common that return TrafficMask | |
---|---|
TrafficMask |
TrafficMask.and(TrafficMask mask)
Peforms an AND operation on this mask with the specified mask and returns the result. |
static TrafficMask |
TrafficMask.getInstance(int interestOps)
Returns an appropriate TrafficMask instance from the
specified interestOps. |
TrafficMask |
IoSession.getTrafficMask()
Returns the current TrafficMask of this session. |
TrafficMask |
TrafficMask.not()
Returns a negated mask of this one. |
TrafficMask |
TrafficMask.or(TrafficMask mask)
Peforms an OR operation on this mask with the specified mask and returns the result. |
TrafficMask |
TrafficMask.xor(TrafficMask mask)
Peforms an XOR operation on this mask with the specified mask and returns the result. |
Methods in org.apache.mina.common with parameters of type TrafficMask | |
---|---|
TrafficMask |
TrafficMask.and(TrafficMask mask)
Peforms an AND operation on this mask with the specified mask and returns the result. |
TrafficMask |
TrafficMask.or(TrafficMask mask)
Peforms an OR operation on this mask with the specified mask and returns the result. |
void |
IoSession.setTrafficMask(TrafficMask trafficMask)
Sets the TrafficMask of this session which will result
the parent IoService to start to control the traffic
of this session immediately. |
TrafficMask |
TrafficMask.xor(TrafficMask mask)
Peforms an XOR operation on this mask with the specified mask and returns the result. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |