equal
deleted
inserted
replaced
47 * |
47 * |
48 * @return true iff the new value of sk.readyOps() set by this method |
48 * @return true iff the new value of sk.readyOps() set by this method |
49 * contains at least one bit that the previous value did not |
49 * contains at least one bit that the previous value did not |
50 * contain |
50 * contain |
51 */ |
51 */ |
52 boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk); |
52 boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl ski); |
53 |
53 |
54 /** |
54 /** |
55 * Sets the specified ops if present in interestOps. The specified |
55 * Sets the specified ops if present in interestOps. The specified |
56 * ops are turned on, and all other ops are turned off. |
56 * ops are turned on, and all other ops are turned off. |
57 * |
57 * |
58 * @return true iff the new value of sk.readyOps() set by this method |
58 * @return true iff the new value of sk.readyOps() set by this method |
59 * contains at least one bit that the previous value did not |
59 * contains at least one bit that the previous value did not |
60 * contain |
60 * contain |
61 */ |
61 */ |
62 boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk); |
62 boolean translateAndSetReadyOps(int ops, SelectionKeyImpl ski); |
63 |
63 |
64 /** |
64 /** |
65 * Translates an interest operation set into a native event set |
65 * Translates an interest operation set into a native event set |
66 */ |
66 */ |
67 int translateInterestOps(int ops); |
67 int translateInterestOps(int ops); |