Lines Matching refs:ops
75 public boolean translateReadyOps(int ops, int initialOps,
81 if ((ops & Net.POLLNVAL) != 0)
84 if ((ops & (Net.POLLERR | Net.POLLHUP)) != 0) {
90 if (((ops & Net.POLLOUT) != 0) &&
98 public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk) {
99 return translateReadyOps(ops, sk.nioReadyOps(), sk);
102 public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk) {
103 return translateReadyOps(ops, 0, sk);
106 public void translateAndSetInterestOps(int ops, SelectionKeyImpl sk) {
107 if ((ops & SelectionKey.OP_WRITE) != 0)
108 ops = Net.POLLOUT;
109 sk.selector.putEventOps(sk, ops);