Searched refs:SO_KEEPALIVE (Results 1 - 13 of 13) sorted by relevance
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | SocketOptionTests.java | 53 SO_KEEPALIVE, SO_REUSEADDR, SO_LINGER, TCP_NODELAY); 63 checkOption(sc, SO_KEEPALIVE, false); 67 sc.setOption(SO_KEEPALIVE, true); 68 checkOption(sc, SO_KEEPALIVE, true); 69 sc.setOption(SO_KEEPALIVE, false); 70 checkOption(sc, SO_KEEPALIVE, false); 102 sc.setOption(SO_KEEPALIVE, true); 103 checkOption(sc, SO_KEEPALIVE, true); 104 sc.setOption(SO_KEEPALIVE, false); 105 checkOption(sc, SO_KEEPALIVE, fals [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | SocketOptions.java | 317 public final static int SO_KEEPALIVE = 0x0008; field in interface:SocketOptions
|
H A D | StandardSocketOptions.java | 71 * whether the option is enabled or disabled. When the {@code SO_KEEPALIVE} 84 public static final SocketOption<Boolean> SO_KEEPALIVE = field in class:StandardSocketOptions 85 new StdSocketOption<Boolean>("SO_KEEPALIVE", Boolean.class);
|
H A D | AbstractPlainSocketImpl.java | 251 case SO_KEEPALIVE: 253 throw new SocketException("bad parameter for SO_KEEPALIVE"); 315 case SO_KEEPALIVE:
|
H A D | Socket.java | 1253 * Enable/disable SO_KEEPALIVE. 1264 getImpl().setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(on)); 1268 * Tests if SO_KEEPALIVE is enabled. 1270 * @return a <code>boolean</code> indicating whether or not SO_KEEPALIVE is enabled. 1279 return ((Boolean) getImpl().getOption(SocketOptions.SO_KEEPALIVE)).booleanValue();
|
/openjdk7/jdk/src/share/native/sun/nio/ch/ |
H A D | genSocketOptionRegistry.c | 100 emit_unspec("StandardSocketOptions.SO_KEEPALIVE", SOL_SOCKET, SO_KEEPALIVE);
|
/openjdk7/jdk/src/windows/classes/java/net/ |
H A D | DualStackPlainSocketImpl.java | 196 case SO_KEEPALIVE : 236 case SO_KEEPALIVE :
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | SocketAdaptor.java | 397 setBooleanOption(StandardSocketOptions.SO_KEEPALIVE, on); 401 return getBooleanOption(StandardSocketOptions.SO_KEEPALIVE);
|
H A D | AsynchronousSocketChannelImpl.java | 504 set.add(StandardSocketOptions.SO_KEEPALIVE);
|
H A D | SocketChannelImpl.java | 233 set.add(StandardSocketOptions.SO_KEEPALIVE);
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/ |
H A D | Basic.java | 151 if (ch.getOption(SO_KEEPALIVE)) 152 throw new RuntimeException("Default of SO_KEEPALIVE should be 'false'"); 157 if (!ch.setOption(SO_KEEPALIVE, true).getOption(SO_KEEPALIVE)) 158 throw new RuntimeException("SO_KEEPALIVE did not change"); 160 throw new RuntimeException("SO_KEEPALIVE did not change");
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | net_util_md.c | 1039 { java_net_SocketOptions_SO_KEEPALIVE, SOL_SOCKET, SO_KEEPALIVE },
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | net_util_md.c | 348 { java_net_SocketOptions_SO_KEEPALIVE, SOL_SOCKET, SO_KEEPALIVE },
|
Completed in 55 milliseconds