/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | Bind.java | 34 SocketChannel sc1 = SocketChannel.open(); 38 SocketChannel sc2 = SocketChannel.open();
|
H A D | ExceptionTranslation.java | 39 SocketChannel channel = SocketChannel.open(); 47 SocketChannel chan1 = SocketChannel.open();
|
H A D | OpenLeak.java | 26 * @summary SocketChannel.open(SocketAddress) leaks file descriptor if 34 import java.nio.channels.SocketChannel; 45 SocketChannel.open(isa);
|
H A D | CloseAfterConnect.java | 27 import java.nio.channels.SocketChannel; 39 final SocketChannel sc = SocketChannel.open(); 67 throw new RuntimeException("SocketChannel not connected");
|
H A D | CloseRegisteredChannel.java | 26 @summary Test if the registered SocketChannel can be closed immediately 43 SocketChannel client = SocketChannel.open (); 45 SocketChannel slave = server.accept ();
|
H A D | LocalAddress.java | 47 SocketChannel sc = SocketChannel.open(); 58 sc = SocketChannel.open();
|
H A D | Stream.java | 41 SocketChannel sc = SocketChannel.open();
|
H A D | Shutdown.java | 40 SocketChannel peer = ssc.accept(); 58 // Test SocketChannel shutdownXXX 59 SocketChannel sc; 60 sc = SocketChannel.open(remote); 70 sc = SocketChannel.open(remote);
|
H A D | ShortWrite.java | 54 final SocketChannel sc; 57 Reader(SocketChannel sc, int expectedSize) { 77 SocketChannel source, 78 SocketChannel sink, 114 try (SocketChannel source = SocketChannel.open(sa); 115 SocketChannel sink = ssc.accept())
|
H A D | OutOfBand.java | 41 SocketChannel sc1 = null; 42 SocketChannel sc2 = null; 51 sc1 = SocketChannel.open(remote); 73 static void test1(SocketChannel client, SocketChannel server) 96 static void test2(final SocketChannel client, SocketChannel server) 133 static void test3(SocketChannel client, final SocketChannel server) 179 static void test4(SocketChannel s [all...] |
H A D | ConnectState.java | 69 abstract String go(SocketChannel sc) throws Exception; 76 static void check(SocketChannel sc, int state) throws Exception { 119 SocketChannel sc = SocketChannel.open(); 174 String go(SocketChannel sc) throws Exception { 183 String go(SocketChannel sc) throws Exception { 191 String go(SocketChannel sc) throws Exception { 198 String go(SocketChannel sc) throws Exception { 208 String go(SocketChannel sc) throws Exception { 217 String go(SocketChannel s [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | SocketChannel.java | 116 public abstract class SocketChannel class in inherits:AbstractSelectableChannel,ByteChannel,ScatteringByteChannel,GatheringByteChannel,NetworkChannel 124 protected SocketChannel(SelectorProvider provider) { method in class:SocketChannel 141 public static SocketChannel open() throws IOException { 179 public static SocketChannel open(SocketAddress remote) 182 SocketChannel sc = open(); 229 public abstract SocketChannel bind(SocketAddress local) 241 public abstract <T> SocketChannel setOption(SocketOption<T> name, T value) 262 public abstract SocketChannel shutdownInput() throws IOException; 283 public abstract SocketChannel shutdownOutput() throws IOException;
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | LotsOfUpdates.java | 30 SocketChannel sc = SocketChannel.open();
|
H A D | HelperSlowToDie.java | 48 SocketChannel[] channels = new SocketChannel[CHANNELS_PER_THREAD]; 50 SocketChannel sc = SocketChannel.open(); 70 SocketChannel sc = SocketChannel.open();
|
H A D | Alias.java | 56 SocketChannel sc = SocketChannel.open(); 72 SocketChannel nextReady = 73 (SocketChannel)sk.channel(); 85 static void read(SocketChannel sc) throws Exception {
|
H A D | Connect.java | 56 SocketChannel sc = SocketChannel.open(); 69 SocketChannel nextReady = (SocketChannel)sk.channel(); 81 static void readAndClose(SocketChannel sc) throws Exception {
|
H A D | ReadAfterConnect.java | 42 SocketChannel sc = SocketChannel.open();
|
H A D | SelectWrite.java | 44 SocketChannel sc = SocketChannel.open();
|
H A D | ConnectWrite.java | 49 SocketChannel sc = SocketChannel.open(); 63 SocketChannel nextReady = (SocketChannel)sk.channel();
|
H A D | SelectorLimit.java | 83 SocketChannel[] sca = new SocketChannel[N_KEYS]; 85 SocketChannel sc = SocketChannel.open();
|
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/ |
H A D | StateTestService.java | 32 * SocketChannel checks that the socket is connected. 59 SocketChannel sc = SocketChannel.open(isa); 84 if (c instanceof SocketChannel) { 85 SocketChannel sc = (SocketChannel)c;
|
H A D | Launcher.java | 68 * will be the SocketChannel returned by this method. 70 public static SocketChannel launchWithSocketChannel(String className, String options[], String args[]) throws IOException { 75 SocketChannel sc1 = SocketChannel.open(isa); 76 SocketChannel sc2 = ssc.accept(); 83 public static SocketChannel launchWithSocketChannel(String className, String args[]) throws IOException { 87 public static SocketChannel launchWithSocketChannel(String className) throws IOException { 95 * can be established a SocketChannel, connected to the service, is returned. 97 public static SocketChannel launchWithServerSocketChannel(String className, String options[], String args[]) 106 return SocketChannel [all...] |
/openjdk7/jdk/test/java/nio/channels/ServerSocketChannel/ |
H A D | NonBlockingAccept.java | 56 SocketChannel sc = SocketChannel.open();
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | Secrets.java | 28 import java.nio.channels.SocketChannel; 48 public static SocketChannel newSocketChannel(FileDescriptor fd) {
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | ChannelIO.java | 47 * redirecting I/O calls to the proper SocketChannel call. 58 protected SocketChannel sc; 68 protected ChannelIO(SocketChannel sc, boolean blocking) 74 static ChannelIO getInstance(SocketChannel sc, boolean blocking) 82 SocketChannel getSocketChannel() {
|