Home
last modified time | relevance | path

Searched refs:optID (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DAbstractPlainDatagramSocketImpl.java279 public void setOption(int optID, Object o) throws SocketException { in setOption() argument
283 switch (optID) { in setOption()
341 throw new SocketException("invalid option: " + optID); in setOption()
343 socketSetOption(optID, o); in setOption()
350 public Object getOption(int optID) throws SocketException { in getOption() argument
357 switch (optID) { in getOption()
363 result = socketGetOption(optID); in getOption()
377 result = socketGetOption(optID); in getOption()
379 if (optID == IP_MULTICAST_IF) { in getOption()
385 throw new SocketException("invalid option: " + optID); in getOption()
DSocketOptions.java90 setOption(int optID, Object value) throws SocketException; in setOption() argument
125 public Object getOption(int optID) throws SocketException; in getOption() argument
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileDescriptorHolderSocketImpl.java47 public void setOption(int optID, Object value) throws SocketException { in setOption() argument
52 public Object getOption(int optID) throws SocketException { in getOption() argument
DDatagramSocketAdaptor.java412 public Object getOption(int optID) throws SocketException { return null;}
414 public void setOption(int optID, Object value) throws SocketException {}
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketImplTest.java118 public Object getOption(int optID) throws SocketException { in getOption() argument
129 public void setOption(int optID, Object val) throws SocketException { in setOption() argument
DDatagramSocketImplTest.java81 public Object getOption(int optID) throws SocketException { in getOption() argument
138 public void setOption(int optID, Object val) throws SocketException { in setOption() argument