| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | getOption(SocketOption<T>
The socket option name)Overrides java. Returns the value of a socket option. |
| public abstract < The type of the socket option value. T> T | Returns: The value of the socket option.The socket option. name)Returns the value of a junixsocket socket option. |
| public <T> DatagramSocket | setOption(SocketOption<T>
The socket option name, T The value of the socket option. A value of value)null
may be valid for some options.Overrides java. Sets the value of a socket option. |
| public abstract < The type of the socket option value. T> DatagramSocket | Returns: this DatagramSocket.The socket option. name, T The value of the socket option. value)Sets the value of a socket option. |
| DatagramSocketShim | back to summary |
|---|---|
| protected DatagramSocketShim(DatagramSocketImpl impl) | |
| getOption | back to summary |
|---|---|
| public <T> T getOption(SocketOption<T> name) throws IOException Overrides java. Doc from java. Returns the value of a socket option.
| |
| getOption | back to summary |
|---|---|
| public abstract <T> T getOption(AFSocketOption<T> name) throws IOException Returns the value of a junixsocket socket option.
| |
| setOption | back to summary |
|---|---|
| public <T> DatagramSocket setOption(SocketOption<T> name, T value) throws IOException Overrides java. Doc from java. Sets the value of a socket option.
| |
| setOption | back to summary |
|---|---|
| public abstract <T> DatagramSocket setOption(AFSocketOption<T> name, T value) throws IOException Sets the value of a socket option.
| |