|
DthingApi
|
Public Member Functions | |
| PlainSocketImpl (int localport, InetAddress addr, int port) | |
| Object | getOption (int option) throws SocketException |
| void | setOption (int option, int value) throws SocketException |
Public Member Functions inherited from java.net.SocketImpl | |
| String | toString () |
Protected Member Functions | |
| synchronized int | available () throws IOException |
| void | bind (InetAddress addr, int port) throws IOException |
| synchronized void | close () throws IOException |
| void | connect (String host, int port) throws IOException |
| void | connect (InetAddress addr, int port) throws IOException |
| void | connect (SocketAddress remoteAddr, int timeout) throws IOException |
| void | create () throws IOException |
| void | finalize () throws Throwable |
| synchronized InputStream | getInputStream () throws IOException |
| synchronized OutputStream | getOutputStream () throws IOException |
| void | shutdownInput () throws IOException |
| void | shutdownOutput () throws IOException |
Protected Member Functions inherited from java.net.SocketImpl | |
| abstract int | available () throws IOException |
| abstract void | bind (InetAddress address, int port) throws IOException |
| abstract void | close () throws IOException |
| abstract void | connect (String host, int port) throws IOException |
| abstract void | connect (InetAddress address, int port) throws IOException |
| abstract void | create () throws IOException |
| InetAddress | getInetAddress () |
| abstract InputStream | getInputStream () throws IOException |
| int | getLocalPort () |
| abstract OutputStream | getOutputStream () throws IOException |
| int | getPort () |
| void | shutdownInput () throws IOException |
| void | shutdownOutput () throws IOException |
| abstract void | connect (SocketAddress remoteAddr, int timeout) throws IOException |
| void | setPerformancePreferences (int connectionTime, int latency, int bandwidth) |
Additional Inherited Members | |
Static Public Attributes inherited from java.net.SocketOptions | |
| static final int | SO_LINGER = 128 |
| static final int | SO_TIMEOUT = 4102 |
| static final int | TCP_NODELAY = 1 |
| static final int | IP_MULTICAST_IF = 16 |
| static final int | SO_BINDADDR = 15 |
| static final int | SO_REUSEADDR = 4 |
| static final int | SO_SNDBUF = 4097 |
| static final int | SO_RCVBUF = 4098 |
| static final int | SO_KEEPALIVE = 8 |
| static final int | IP_TOS = 3 |
| static final int | IP_MULTICAST_LOOP = 18 |
| static final int | SO_BROADCAST = 32 |
| static final int | SO_OOBINLINE = 4099 |
| static final int | IP_MULTICAST_IF2 = 31 |
Protected Attributes inherited from java.net.SocketImpl | |
| InetAddress | address |
| int | port |
| int | localport |
used in java.nio.
|
inline |
Gets the value for the specified socket option.
| optID | the option identifier. |
| SocketException | if an error occurs reading the option value. |
Implements java.net.SocketOptions.
|
inline |
Sets the value of the specified socket option.
| optID | the option identifier. |
| val | the value to be set for the option. |
| SocketException | if an error occurs setting the option value. |
Implements java.net.SocketOptions.
|
inlineprotected |
Shutdown the input portion of the socket.
|
inlineprotected |
Shutdown the output portion of the socket.
1.8.13