|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.nio.NioTransition<S>
S - the type of states this transition goes to.public class NioTransition<S extends Enum>
Instances of this class define the transition of one NIO state to another.
| Constructor Summary | |
|---|---|
NioTransition(S state,
int interestOps)
Create a new transition with the specified state and set of interests. |
|
| Method Summary | |
|---|---|
int |
getInterestOps()
Get the set of IO operations the corresponding channel isinterested in after the transition. |
S |
getState()
Get the new state after the transition. |
void |
setInterestOps(int interestOps)
Set the set of IO operations the corresponding channel isinterested in after the transition. |
void |
setState(S state)
Set the new state after the transition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NioTransition(S state,
int interestOps)
state - the state after the transition.interestOps - the new set of interests after the transition.| Method Detail |
|---|
public int getInterestOps()
public void setInterestOps(int interestOps)
interestOps - the set of interests as an int value.public S getState()
NioState instance.public void setState(S state)
state - an NioState instance.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||