Package | Description |
---|---|
org.apache.mina.core.filterchain | |
org.apache.mina.core.session | |
org.apache.mina.filter.util |
Utility classes for the MINA filtering portion of the library.
|
Modifier and Type | Method and Description |
---|---|
void |
IoFilterAdapter.filterSetTrafficMask(IoFilter.NextFilter nextFilter,
IoSession session,
TrafficMask trafficMask) |
void |
IoFilter.filterSetTrafficMask(IoFilter.NextFilter nextFilter,
IoSession session,
TrafficMask trafficMask)
Filters
IoSession.setTrafficMask(TrafficMask) method invocation. |
void |
IoFilter.NextFilter.filterSetTrafficMask(IoSession session,
TrafficMask trafficMask)
Forwards filterSetTrafficMask event to next filter.
|
void |
IoFilterChain.fireFilterSetTrafficMask(TrafficMask trafficMask)
Fires a
IoSession.setTrafficMask(TrafficMask) event. |
void |
DefaultIoFilterChain.fireFilterSetTrafficMask(TrafficMask trafficMask) |
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 |
AbstractIoSession.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.
|
Modifier and Type | Method and Description |
---|---|
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. |
void |
AbstractIoSession.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. |
void |
AbstractIoSession.setTrafficMaskNow(TrafficMask trafficMask)
TODO Add method documentation
|
TrafficMask |
TrafficMask.xor(TrafficMask mask)
Peforms an XOR operation on this mask with the specified
mask and returns the result.
|
Modifier and Type | Method and Description |
---|---|
void |
ReferenceCountingFilter.filterSetTrafficMask(IoFilter.NextFilter nextFilter,
IoSession session,
TrafficMask trafficMask) |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.