| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| private final int | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | AFSocketOption(String
The name of the option. name, Class<T> The value type. type, int The socket level (as defined in junixsocket-native). level, int The option name (as defined in junixsocket-native). optionName)Creates a new socket option. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| public String | |
| pack-priv int | |
| public String | |
| public Class |
| level | back to summary |
|---|---|
| private final int level | |
| name | back to summary |
|---|---|
| private final String name | |
| optionName | back to summary |
|---|---|
| private final int optionName | |
| type | back to summary |
|---|---|
| private final Class<T> type | |
| AFSocketOption | back to summary |
|---|---|
| public AFSocketOption(String name, Class<T> type, int level, int optionName) Creates a new socket option. This should only be called by | |
| level | back to summary |
|---|---|
| pack-priv int level() | |
| name | back to summary |
|---|---|
| public String name() Implements java. Doc from java. Returns the name of the socket option. | |
| optionName | back to summary |
|---|---|
| pack-priv int optionName() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| type | back to summary |
|---|---|
| public Class Implements java. Doc from java. Returns the type of the socket option value. | |