Searched refs:interestOps (Results 1 – 9 of 9) sorted by relevance
79 public int interestOps() { in keyFor() method84 public SelectionKey interestOps(int ops) { in keyFor() method101 key.interestOps(0); in test()106 assertTrue(key.interestOps() == 0); in test()111 assertTrue(key.interestOps() == OP_CONNECT); in test()116 assertTrue(key.interestOps() == OP_CONNECT); in test()121 assertTrue(key.interestOps() == (OP_CONNECT | OP_READ | OP_WRITE)); in test()126 assertTrue(key.interestOps() == OP_CONNECT); in test()131 assertTrue(key.interestOps() == 0); in test()134 key.interestOps(OP_READ | OP_WRITE); in test()[all …]
168 public abstract int interestOps(); in interestOps() method in SelectionKey190 public abstract SelectionKey interestOps(int ops); in interestOps() method in SelectionKey223 int oldVal = interestOps(); in interestOpsOr()224 interestOps(oldVal | ops); in interestOpsOr()263 int oldVal = interestOps(); in interestOpsAnd()264 interestOps(oldVal & ops); in interestOpsAnd()
47 private volatile int interestOps; field in SelectionKeyImpl76 public int interestOps() { in interestOps() method in SelectionKeyImpl78 return interestOps; in interestOps()81 public SelectionKey interestOps(int ops) { in interestOps() method in SelectionKeyImpl106 interestOps = ops; in nioInterestOps()111 return interestOps; in nioInterestOps()
134 k.interestOps(ops); in register()
59 private int interestOps; field in SelectionKeyTest.MockSelectionKey62 interestOps = ops; in MockSelectionKey()73 public int interestOps() { in interestOps() method in SelectionKeyTest.MockSelectionKey77 public SelectionKey interestOps(int operations) { in interestOps() method in SelectionKeyTest.MockSelectionKey86 return interestOps; in readyOps()137 assertEquals(SelectionKey.OP_CONNECT, selectionKey.interestOps()); in test_interestOps()144 selectionKey.interestOps(SelectionKey.OP_WRITE); in test_interestOpsI()145 assertEquals(SelectionKey.OP_WRITE, selectionKey.interestOps()); in test_interestOpsI()148 selectionKey.interestOps(SelectionKey.OP_ACCEPT); in test_interestOpsI()155 selectionKey.interestOps(~sc.validOps()); in test_interestOpsI()[all …]
64 public int interestOps() { in interestOps() method in AbstractSelectionKeyTest.MockSelectionKey68 public SelectionKey interestOps(int arg0) { in interestOps() method in AbstractSelectionKeyTest.MockSelectionKey
65 int interestOps = key.interestOps(); in testActionInvoked() local74 while ((key.readyOps() & interestOps) != expectedOps) { in testActionInvoked()86 assertTrue((readyOps & interestOps) != 0); in testActionInvoked()99 assertTrue((readyOps & interestOps) != 0); in testActionInvoked()112 assertTrue((readyOps & interestOps) != 0); in testActionInvoked()
217 k.interestOps(ops); in register()
6931 method public abstract int interestOps();6932 method public abstract java.nio.channels.SelectionKey interestOps(int);