Commit c34ce2a6 by Michael Koch Committed by Michael Koch

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
parent d62f8f8d
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.
2003-02-11 Michael Koch <konqueror@gmx.de> 2003-02-11 Michael Koch <konqueror@gmx.de>
* java/nio/channels/DatagramChannel.java * java/nio/channels/DatagramChannel.java
......
...@@ -43,10 +43,10 @@ package java.nio.channels; ...@@ -43,10 +43,10 @@ package java.nio.channels;
*/ */
public abstract class SelectionKey public abstract class SelectionKey
{ {
public static final int OP_ACCEPT = 1<<0; public static final int OP_ACCEPT = 16;
public static final int OP_CONNECT = 1<<1; public static final int OP_CONNECT = 8;
public static final int OP_READ = 1<<2; public static final int OP_READ = 1;
public static final int OP_WRITE = 1<<3; public static final int OP_WRITE = 4;
Object attached; Object attached;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment