HomeSort by relevance Sort by last modified time
    Searched defs:SelectionKey (Results 1 - 9 of 9) sorted by null

  /libcore/luni/src/main/java/java/nio/channels/
SelectionKey.java 20 * A {@code SelectionKey} represents the relationship between a channel and a
34 public abstract class SelectionKey {
59 * Constructs a new {@code SelectionKey}.
61 protected SelectionKey() {
114 * Gets this key's {@link SelectionKey interest set}. The returned set has
124 * Sets the {@link SelectionKey interest set} for this key.
136 public abstract SelectionKey interestOps(int operations);
  /libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SelectableChannelTest.java 26 import java.nio.channels.SelectionKey;
61 msc.register(Selector.open(), SelectionKey.OP_ACCEPT);
86 public SelectionKey keyFor(Selector sel) {
94 public SelectionKey register(Selector sel, int ops, Object att)
DatagramChannelTest.java 39 import java.nio.channels.SelectionKey;
321 assertEquals((SelectionKey.OP_READ | SelectionKey.OP_WRITE),
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectableChannelTest.java 30 import java.nio.channels.SelectionKey;
174 SelectionKey acceptKey = sc.register(acceptSelector1,
175 SelectionKey.OP_READ, null);
181 acceptKey = sc.register(acceptSelector2, SelectionKey.OP_READ, null);
212 //different SelectionKey with validOps
213 msc.register(acceptSelector, SelectionKey.OP_READ, null);
227 msc.register(acceptSelector, SelectionKey.OP_READ, null);
249 msc.register(acceptSelector, SelectionKey.OP_READ, null);
263 msc.register(acceptSelector, SelectionKey.OP_READ, null);
280 sc.register(null, SelectionKey.OP_READ, argObj)
    [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 66 milliseconds