/libcore/ojluni/src/main/java/java/net/ |
D | StandardSocketOptions.java | 64 public static final SocketOption<Boolean> SO_BROADCAST = 84 public static final SocketOption<Boolean> SO_KEEPALIVE = 115 public static final SocketOption<Integer> SO_SNDBUF = 155 public static final SocketOption<Integer> SO_RCVBUF = 186 public static final SocketOption<Boolean> SO_REUSEADDR = 218 public static final SocketOption<Integer> SO_LINGER = 250 public static final SocketOption<Integer> IP_TOS = 273 public static final SocketOption<NetworkInterface> IP_MULTICAST_IF = 300 public static final SocketOption<Integer> IP_MULTICAST_TTL = 325 public static final SocketOption<Boolean> IP_MULTICAST_LOOP = [all …]
|
D | SocketSecrets.java | 36 … private static <T> void setOption(Object obj, SocketOption<T> name, T value) throws IOException { in setOption() 49 private static <T> T getOption(Object obj, SocketOption<T> name) throws IOException { in getOption() 62 …private static <T> void setOption(DatagramSocket s, SocketOption<T> name, T value) throws IOExcept… in setOption() 66 private static <T> T getOption(DatagramSocket s, SocketOption<T> name) throws IOException { in getOption()
|
D | SocketOption.java | 44 public interface SocketOption<T> { interface
|
/libcore/ojluni/src/main/java/jdk/net/ |
D | Sockets.java | 62 private final static HashMap<Class<?>,Set<SocketOption<?>>> 88 SocketOption.class, Object.class in initMethods() 93 "getOption", Object.class, SocketOption.class in initMethods() 99 SocketOption.class, Object.class in initMethods() 104 "getOption", DatagramSocket.class, SocketOption.class in initMethods() 114 SocketOption<T> option, T value) throws IOException in invokeSet() 132 Method method, Object socket, SocketOption<T> option) throws IOException in invokeGet() 174 public static <T> void setOption(Socket s, SocketOption<T> name, T value) throws IOException in setOption() 202 public static <T> T getOption(Socket s, SocketOption<T> name) throws IOException in getOption() 232 … public static <T> void setOption(ServerSocket s, SocketOption<T> name, T value) throws IOException in setOption() [all …]
|
D | ExtendedSocketOptions.java | 28 import java.net.SocketOption; 39 private static class ExtSocketOption<T> implements SocketOption<T> { 59 public static final SocketOption<SocketFlow> SO_FLOW_SLA = new
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | NetworkChannel.java | 28 import java.net.SocketOption; 130 <T> NetworkChannel setOption(SocketOption<T> name, T value) throws IOException; in setOption() 152 <T> T getOption(SocketOption<T> name) throws IOException; in getOption() 162 Set<SocketOption<?>> supportedOptions(); in supportedOptions()
|
D | ServerSocketChannel.java | 30 import java.net.SocketOption; 209 public abstract <T> ServerSocketChannel setOption(SocketOption<T> name, T value) in setOption()
|
D | AsynchronousServerSocketChannel.java | 29 import java.net.SocketOption; 239 public abstract <T> AsynchronousServerSocketChannel setOption(SocketOption<T> name, T value) in setOption()
|
D | DatagramChannel.java | 31 import java.net.SocketOption; 226 public abstract <T> DatagramChannel setOption(SocketOption<T> name, T value) in setOption()
|
D | SocketChannel.java | 30 import java.net.SocketOption; 250 public abstract <T> SocketChannel setOption(SocketOption<T> name, T value) in setOption()
|
D | AsynchronousSocketChannel.java | 32 import java.net.SocketOption; 218 public abstract <T> AsynchronousSocketChannel setOption(SocketOption<T> name, T value) in setOption()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ExtendedSocketOption.java | 28 import java.net.SocketOption; 38 static final SocketOption<Boolean> SO_OOBINLINE = 39 new SocketOption<Boolean>() {
|
D | AsynchronousServerSocketChannelImpl.java | 30 import java.net.SocketOption; 180 public final <T> AsynchronousServerSocketChannel setOption(SocketOption<T> name, in setOption() 207 public final <T> T getOption(SocketOption<T> name) throws IOException { in getOption() 228 static final Set<SocketOption<?>> defaultOptions = defaultOptions(); 230 private static Set<SocketOption<?>> defaultOptions() { in defaultOptions() 231 HashSet<SocketOption<?>> set = new HashSet<SocketOption<?>>(2); in defaultOptions() 239 public final Set<SocketOption<?>> supportedOptions() { in supportedOptions()
|
D | SocketOptionRegistry.java | 29 import java.net.SocketOption; 38 private final SocketOption<?> name; 40 RegistryKey(SocketOption<?> name, ProtocolFamily family) { in RegistryKey() 80 public static OptionKey findOption(SocketOption<?> name, ProtocolFamily family) { in findOption()
|
D | ServerSocketChannelImpl.java | 126 public <T> ServerSocketChannel setOption(SocketOption<T> name, T value) in setOption() 159 public <T> T getOption(SocketOption<T> name) in getOption() 182 static final Set<SocketOption<?>> defaultOptions = defaultOptions(); 184 private static Set<SocketOption<?>> defaultOptions() { in defaultOptions() 185 HashSet<SocketOption<?>> set = new HashSet<SocketOption<?>>(2); in defaultOptions() 194 public final Set<SocketOption<?>> supportedOptions() { in supportedOptions()
|
D | AsynchronousSocketChannelImpl.java | 30 import java.net.SocketOption; 454 public final <T> AsynchronousSocketChannel setOption(SocketOption<T> name, T value) in setOption() 482 public final <T> T getOption(SocketOption<T> name) throws IOException { in getOption() 503 static final Set<SocketOption<?>> defaultOptions = defaultOptions(); 505 private static Set<SocketOption<?>> defaultOptions() { in defaultOptions() 506 HashSet<SocketOption<?>> set = new HashSet<SocketOption<?>>(5); in defaultOptions() 520 public final Set<SocketOption<?>> supportedOptions() { in supportedOptions()
|
D | SocketChannelImpl.java | 36 import java.net.SocketOption; 205 public <T> SocketChannel setOption(SocketOption<T> name, T value) in setOption() 238 public <T> T getOption(SocketOption<T> name) in getOption() 270 static final Set<SocketOption<?>> defaultOptions = defaultOptions(); 272 private static Set<SocketOption<?>> defaultOptions() { in defaultOptions() 273 HashSet<SocketOption<?>> set = new HashSet<SocketOption<?>>(8); in defaultOptions() 291 public final Set<SocketOption<?>> supportedOptions() { in supportedOptions()
|
D | DatagramSocketAdaptor.java | 265 private void setBooleanOption(SocketOption<Boolean> name, boolean value) in setBooleanOption() 275 private void setIntOption(SocketOption<Integer> name, int value) in setIntOption() 285 private boolean getBooleanOption(SocketOption<Boolean> name) throws SocketException { in getBooleanOption() 294 private int getIntOption(SocketOption<Integer> name) throws SocketException { in getIntOption()
|
D | SocketAdaptor.java | 284 private void setBooleanOption(SocketOption<Boolean> name, boolean value) in setBooleanOption() 294 private void setIntOption(SocketOption<Integer> name, int value) in setIntOption() 304 private boolean getBooleanOption(SocketOption<Boolean> name) throws SocketException { in getBooleanOption() 313 private int getIntOption(SocketOption<Integer> name) throws SocketException { in getIntOption()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | MockServerSocketChannel.java | 23 import java.net.SocketOption; 55 public <T> ServerSocketChannel setOption(SocketOption<T> name, T value) throws IOException { in setOption() 65 public Set<SocketOption<?>> supportedOptions() { in supportedOptions() 70 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption()
|
D | MockSocketChannel.java | 23 import java.net.SocketOption; 105 public <T> SocketChannel setOption(SocketOption<T> name, T value) in setOption() 116 public Set<SocketOption<?>> supportedOptions() { in supportedOptions() 121 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption()
|
D | MockDatagramChannel.java | 25 import java.net.SocketOption; 105 public <T> DatagramChannel setOption(SocketOption<T> name, T value) in setOption() 111 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption() 131 public Set<SocketOption<?>> supportedOptions() { in supportedOptions()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ExtendedOptionsImpl.java | 59 public static void checkSetOptionPermission(SocketOption<?> option) { in checkSetOptionPermission() 68 public static void checkGetOptionPermission(SocketOption<?> option) { in checkGetOptionPermission()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | PlainSocketImpl.java | 41 protected <T> void setOption(java.net.SocketOption<T> name, T value) in setOption() 46 protected <T> T getOption(java.net.SocketOption<T> name) throws java.io.IOException { in getOption()
|
D | SocketImpl.java | 124 <T> void setOption(java.net.SocketOption<T> name, T value) throws java.io.IOException { in setOption() 128 <T> T getOption(java.net.SocketOption<T> name) throws java.io.IOException { in getOption()
|