Searched refs:OP_CONNECT (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DSelectionKey.java247 * <tt>OP_CONNECT</tt> at the start of a <a
251 * <tt>OP_CONNECT</tt> to the key's ready set and add the key to its
254 public static final int OP_CONNECT = 1 << 3; field in class:SelectionKey
323 * k.readyOps()&nbsp;&amp;&nbsp;OP_CONNECT&nbsp;!=&nbsp;0</pre></blockquote>
329 * <tt>readyOps()</tt>&nbsp;<tt>&</tt>&nbsp;<tt>OP_CONNECT</tt>
336 return (readyOps() & OP_CONNECT) != 0;
H A DSocketChannel.java202 * method returns <tt>(</tt>{@link SelectionKey#OP_CONNECT}
211 | SelectionKey.OP_CONNECT);
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DHelperSlowToDie.java52 sc.register(sel, SelectionKey.OP_CONNECT);
72 sc.register(sel, SelectionKey.OP_CONNECT);
H A DKeysReady.java47 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
H A DAlias.java64 SelectionKey.OP_CONNECT);
H A DConnect.java61 SelectionKey RKey = sc.register (RSelector, SelectionKey.OP_CONNECT);
H A DConnectWrite.java52 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
H A DSelectorLimit.java87 sc.register(sel, SelectionKey.OP_CONNECT | SelectionKey.OP_WRITE);
H A DBasicConnect.java63 SelectionKey.OP_CONNECT);
H A DLotsOfCancels.java246 SelectionKey.OP_CONNECT);
280 if (readyOps == SelectionKey.OP_CONNECT) {
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DCommUp.java49 import static java.nio.channels.SelectionKey.OP_CONNECT;
107 SelectionKey selectiontKey = sc.register(selector, OP_CONNECT);
125 /* OP_CONNECT */
129 "should only received one OP_CONNECT");
131 "should not receive OP_READ before OP_CONNECT");
141 /* now process the OP_CONNECT */
143 check((sk.interestOps() & OP_CONNECT) == OP_CONNECT,
144 "selection key interest ops should contain OP_CONNECT");
146 check((sk.interestOps() & OP_CONNECT) !
[all...]
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DIsConnectable.java47 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
H A DConnect.java64 sk = sc.register(selector, SelectionKey.OP_CONNECT);
H A DFinishConnect.java75 sc.register(selector, SelectionKey.OP_CONNECT);
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/
H A DSctpChannel.java702 * method returns <tt>(</tt>{@link SelectionKey#OP_CONNECT}
712 SelectionKey.OP_CONNECT);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSocketChannelImpl.java937 ((intOps & SelectionKey.OP_CONNECT) != 0) &&
939 newOps |= SelectionKey.OP_CONNECT;
969 if ((ops & SelectionKey.OP_CONNECT) != 0)
H A DSocketAdaptor.java110 sk = sc.register(sel, SelectionKey.OP_CONNECT);
H A DDatagramChannelImpl.java1089 if ((ops & SelectionKey.OP_CONNECT) != 0)
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DSctpChannelImpl.java608 ((intOps & SelectionKey.OP_CONNECT) != 0) &&
610 newOps |= SelectionKey.OP_CONNECT;
641 if ((ops & SelectionKey.OP_CONNECT) != 0)

Completed in 51 milliseconds