/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()
|
/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 | 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()
|
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()
|
/libcore/ojluni/src/main/java/java/net/ |
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
|
D | SocketImpl.java | 372 <T> void setOption(SocketOption<T> name, T value) throws IOException { in setOption() 392 <T> T getOption(SocketOption<T> name) throws IOException { in getOption()
|
/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()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldSocketChannelTest.java | 25 import java.net.SocketOption; 430 public <T> SocketChannel setOption(SocketOption<T> name, T value) { in setOption() 440 public Set<SocketOption<?>> supportedOptions() { in supportedOptions() 445 public <T> T getOption(SocketOption<T> name) throws IOException { in getOption()
|