equal
deleted
inserted
replaced
38 /** |
38 /** |
39 * Base implementation of AsynchronousChannelGroupImpl for Unix systems. |
39 * Base implementation of AsynchronousChannelGroupImpl for Unix systems. |
40 */ |
40 */ |
41 |
41 |
42 abstract class Port extends AsynchronousChannelGroupImpl { |
42 abstract class Port extends AsynchronousChannelGroupImpl { |
43 static final short POLLIN = 0x0001; |
|
44 static final short POLLOUT = 0x0004; |
|
45 static final short POLLERR = 0x0008; |
|
46 static final short POLLHUP = 0x0010; |
|
47 |
43 |
48 /** |
44 /** |
49 * Implemented by clients registered with this port. |
45 * Implemented by clients registered with this port. |
50 */ |
46 */ |
51 interface PollableChannel extends Closeable { |
47 interface PollableChannel extends Closeable { |