|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.asdf.common.ChangeRequest
public class ChangeRequest
ChangeRequest is a request for NIO channel to change operation of the channel.
Field Summary | |
---|---|
static int |
CHANGEOPS
Change operation. |
int |
ops
|
static int |
REGISTER
Register operation. |
java.nio.channels.SocketChannel |
socket
|
int |
type
|
static int |
WRITE
Write operation. |
Constructor Summary | |
---|---|
ChangeRequest(java.nio.channels.SocketChannel socket,
int type,
int ops)
Constructs a new ChangeRequest. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int REGISTER
public static final int CHANGEOPS
public static final int WRITE
public java.nio.channels.SocketChannel socket
public int type
public int ops
Constructor Detail |
---|
public ChangeRequest(java.nio.channels.SocketChannel socket, int type, int ops)
socket
- Associated socket channel.type
- Type of operation.ops
- Operation to which channels operation should be changed to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |