Searched refs:SocketChannel (Results 76 - 100 of 123) sorted by relevance

12345

/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DConnect.java56 SocketChannel sc;
60 sc = SocketChannel.open();
H A DUnboundSocketTests.java57 System.out.println("\n-- SocketChannel --");
59 SocketChannel sc = SocketChannel.open();
H A DSocketOptionTests.java26 * @summary Unit test to check SocketChannel setOption/getOption/options
39 static void checkOption(SocketChannel sc, SocketOption name, Object expectedValue)
48 SocketChannel sc = SocketChannel.open();
H A DVectorIO.java79 SocketChannel sc = SocketChannel.open();
135 SocketChannel sc = null;
H A DAsyncCloseChannel.java183 final SocketChannel s = SocketChannel.open(
H A DVectorParams.java67 SocketChannel sc = SocketChannel.open(isa);
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DHttpServer.java211 SocketChannel sock = schan.accept ();
230 SocketChannel chan = (SocketChannel) key.channel();
265 boolean consume (SocketChannel chan) {
285 SocketChannel schan;
301 ServerWorker (HttpCallback cb, SocketChannel schan, SSLEngine sslEng) {
434 private boolean read (SocketChannel chan, SSLEngine sslEng) {
564 synchronized void orderlyCloseChannel (SocketChannel ch) throws IOException {
568 synchronized void abortiveCloseChannel (SocketChannel ch) throws IOException {
582 SocketChannel channe
[all...]
/openjdk7/jdk/test/sun/net/www/httptest/
H A DHttpServer.java182 SocketChannel sock = schan.accept ();
200 SocketChannel chan = (SocketChannel) key.channel();
235 boolean consume (SocketChannel chan) {
249 private boolean read (SocketChannel chan, SelectionKey key) {
380 SocketChannel ch = (SocketChannel)key.channel ();
388 SocketChannel ch = (SocketChannel)key.channel ();
403 SocketChannel channe
[all...]
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DRequest.java45 private SocketChannel chan;
224 SocketChannel channel;
236 public ReadStream (ServerImpl server, SocketChannel chan) throws IOException {
355 SocketChannel channel;
362 public WriteStream (ServerImpl server, SocketChannel channel) throws IOException {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/legacy/connection/
H A DDefaultSocketFactory.java33 import java.nio.channels.SocketChannel;
113 SocketChannel socketChannel = SocketChannel.open(address);
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/transport/
H A DCorbaConnection.java30 import java.nio.channels.SocketChannel;
161 public SocketChannel getSocketChannel();
/openjdk7/jdk/src/share/classes/com/oracle/net/
H A DSdp.java33 import java.nio.channels.SocketChannel;
168 * @return a new SocketChannel
176 public static SocketChannel openSocketChannel() throws IOException {
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DSinkChannelImpl.java46 // The SocketChannel assoicated with this pipe
47 SocketChannel sc;
57 SinkChannelImpl(SelectorProvider sp, SocketChannel sc) {
H A DSourceChannelImpl.java45 // The SocketChannel assoicated with this pipe
46 SocketChannel sc;
56 SourceChannelImpl(SelectorProvider sp, SocketChannel sc) {
/openjdk7/jdk/test/com/oracle/net/
H A DSanity.java59 // Test SocketChannel and ServerSocketChannel
65 // SocketChannel.connect (implicit bind)
66 SocketChannel client = Sdp.openSocketChannel();
69 SocketChannel peer = ssc.accept();
80 // SocketChannel.connect (explicit bind)
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DDieBeforeComplete.java58 SocketChannel peer = SocketChannel.open(sa);
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DOutOfBand.java26 * @summary OOB data causes a SocketChannel, with OOBINLINE disabled, to be
39 SocketChannel sc = null;
120 n = ((SocketChannel)key.channel()).read(bb);
/openjdk7/jdk/test/java/nio/channels/etc/
H A DShadow.java98 SocketChannel socketChannel = SocketChannel.open();
99 log.println("opened SocketChannel: " + socketChannel);
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DStateTest.java28 * is in blocking mode, bound, and in the case of a SocketChannel
58 SocketChannel sc;
159 * Launch service with a SocketChannel (tcp nowait)
161 SocketChannel sc = Launcher.launchWithSocketChannel(TEST_SERVICE, options, arg);
168 * and the returned SocketChannel is connected to the service.
H A DCloseTest.java54 SocketChannel sc = Launcher.launchWithSocketChannel("EchoService", service_args);
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLock.java168 SocketChannel sc = ssc.accept();
181 private final SocketChannel sc;
183 LockSlaveMirror(SocketChannel sc) {
274 SocketChannel sc = SocketChannel.open(new InetSocketAddress(port));
/openjdk7/jdk/test/java/nio/channels/AsynchronousServerSocketChannel/
H A DBasic.java92 SocketChannel sc = SocketChannel.open(isa);
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransfer.java386 SocketChannel sink = SocketChannel.open(sa);
388 SocketChannel other = ssc.accept();
438 SocketChannel source = SocketChannel.open(isa);
439 SocketChannel sink = ssc.accept();
551 private SocketChannel sc;
553 public EchoServer(SocketChannel sc) {
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DBaseSSLSocketImpl.java30 import java.nio.channels.SocketChannel;
93 * Returns the unique {@link java.nio.SocketChannel SocketChannel} object
97 public final SocketChannel getChannel() {
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DServerSocketAdaptor.java100 SocketChannel sc = ssc.accept();
111 SocketChannel sc;

Completed in 91 milliseconds

12345