2003-02-11 Michael Koch <konqueror@gmx.de>
* java/nio/channels/SelectionKey.java (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct values. From-SVN: r62683
This commit is contained in:
parent
d62f8f8dc7
commit
c34ce2a637
2 changed files with 10 additions and 4 deletions
|
@ -43,10 +43,10 @@ package java.nio.channels;
|
|||
*/
|
||||
public abstract class SelectionKey
|
||||
{
|
||||
public static final int OP_ACCEPT = 1<<0;
|
||||
public static final int OP_CONNECT = 1<<1;
|
||||
public static final int OP_READ = 1<<2;
|
||||
public static final int OP_WRITE = 1<<3;
|
||||
public static final int OP_ACCEPT = 16;
|
||||
public static final int OP_CONNECT = 8;
|
||||
public static final int OP_READ = 1;
|
||||
public static final int OP_WRITE = 4;
|
||||
|
||||
Object attached;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue