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

12345

/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DSelectorProvider.java54 * java.nio.channels.SocketChannel#open SocketChannel} classes. It is also
237 public abstract SocketChannel openSocketChannel()
261 * socket then a {@link java.nio.channels.SocketChannel SocketChannel} is
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DUtil.java53 * Return the file descriptor underlying a given SocketChannel
55 public static int getFD(SocketChannel sc) {
H A DEchoTest.java56 SocketChannel sc = Launcher.launchWithSocketChannel(ECHO_SERVICE, null);
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DSSLEngineService.java58 protected static void deliver(SSLEngine ssle, SocketChannel sc)
134 protected static void receive(SSLEngine ssle, SocketChannel sc)
218 protected static void handshaking(SSLEngine ssle, SocketChannel sc)
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/httpstest/
H A DHttpTransaction.java45 SocketChannel ch;
51 String body, MessageHeader trailers, SocketChannel ch) {
197 * Get the SocketChannel associated with this request
201 public SocketChannel channel() {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/legacy/connection/
H A DSocketFactoryConnectionImpl.java29 import java.nio.channels.SocketChannel;
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DLeaky.java52 private final SocketChannel peer;
H A DBasic.java86 SocketChannel accept() throws IOException {
357 SocketChannel peer = server.accept();
410 try (SocketChannel sc = server.accept()) {
461 SocketChannel sc = server.accept();
515 SocketChannel sc = server.accept();
575 SocketChannel sc = server.accept();
632 SocketChannel sc = server.accept();
706 try (SocketChannel peer = server.accept()) {
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DCloseTimeoutChannel.java26 @summary Test if the SocketChannel with timeout set can be closed immediately
53 Socket socket=SocketChannel.open(
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DSSLStreams.java41 * given a non-blocking SocketChannel, it produces
49 SocketChannel chan;
60 SSLStreams (ServerImpl server, SSLContext sslctx, SocketChannel chan) throws IOException {
239 * This is a thin wrapper over SSLEngine and the SocketChannel,
249 SocketChannel chan;
256 EngineWrapper (SocketChannel chan, SSLEngine engine) throws IOException {
352 * for reading off SocketChannel
H A DServerImpl.java316 SocketChannel chan = c.getChannel();
366 SocketChannel chan = schan.accept();
388 SocketChannel chan = (SocketChannel)key.channel();
428 public void handle (SocketChannel chan, HttpConnection conn)
485 SocketChannel chan;
495 Exchange (SocketChannel chan, String protocol, HttpConnection conn) throws IOException {
/openjdk7/jdk/test/sun/net/www/httptest/
H A DHttpTransaction.java197 * Get the SocketChannel associated with this request
201 public SocketChannel channel() {
202 return (SocketChannel) key.channel();
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DServerSocketChannelImpl.java223 public SocketChannel accept() throws IOException {
229 SocketChannel sc = null;
H A DSocketChannelImpl.java43 extends SocketChannel
163 public <T> SocketChannel setOption(SocketOption<T> name, T value)
590 public SocketChannel bind(SocketAddress local) throws IOException {
795 public SocketChannel shutdownInput() throws IOException {
812 public SocketChannel shutdownOutput() throws IOException {
H A DSocketAdaptor.java75 public SocketChannel getChannel() {
375 // size 0 valid for SocketChannel, invalid for Socket
386 // size 0 valid for SocketChannel, invalid for Socket
/openjdk7/jdk/src/share/sample/nio/server/
H A DChannelIOSecure.java50 * Each connection has a SocketChannel and a SSLEngine that is
156 protected ChannelIOSecure(SocketChannel sc, boolean blocking,
187 static ChannelIOSecure getInstance(SocketChannel sc, boolean blocking,
220 * Writes bb to the SocketChannel.
/openjdk7/jdk/test/java/rmi/activation/rmidViaInheritedChannel/
H A DRmidViaInheritedChannel.java154 public SocketChannel openSocketChannel()
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DInheritedChannel.java34 import java.nio.channels.SocketChannel;
177 // create a SocketChannel, otherwise a ServerSocketChannel.
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DSocketOrChannelAcceptorImpl.java35 import java.nio.channels.SocketChannel;
229 SocketChannel socketChannel = null;
H A DBufferConnectionImpl.sjava34 import java.nio.channels.SocketChannel;
105 public SocketChannel getSocketChannel()
H A DSocketOrChannelConnectionImpl.java34 import java.nio.channels.SocketChannel;
110 protected SocketChannel socketChannel;
111 public SocketChannel getSocketChannel()
/openjdk7/jdk/src/share/classes/java/net/
H A DSocket.java32 import java.nio.channels.SocketChannel;
51 * @see java.nio.channels.SocketChannel
805 * Returns the unique {@link java.nio.channels.SocketChannel SocketChannel}
809 * created via the {@link java.nio.channels.SocketChannel#open
810 * SocketChannel.open} or {@link
821 public SocketChannel getChannel() {
/openjdk7/jdk/make/java/nio/
H A DFILES_java.gmk59 java/nio/channels/SocketChannel.java \

Completed in 64 milliseconds

12345