Home
last modified time | relevance | path

Searched refs:getIntOption (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketAdaptor.java311 private int getIntOption(SocketOption<Integer> name) throws SocketException { in getIntOption() method in SocketAdaptor
335 return getIntOption(StandardSocketOptions.SO_LINGER); in getSoLinger()
370 return getIntOption(StandardSocketOptions.SO_SNDBUF); in getSendBufferSize()
381 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
397 return getIntOption(StandardSocketOptions.IP_TOS); in getTrafficClass()
DDatagramSocketAdaptor.java294 private int getIntOption(SocketOption<Integer> name) throws SocketException { in getIntOption() method in DatagramSocketAdaptor
310 return getIntOption(StandardSocketOptions.SO_SNDBUF); in getSendBufferSize()
320 return getIntOption(StandardSocketOptions.SO_RCVBUF); in getReceiveBufferSize()
345 return getIntOption(StandardSocketOptions.IP_TOS); in getTrafficClass()