public final class SocketOptions extends CrtResource
| Modifier and Type | Class and Description |
|---|---|
static class |
SocketOptions.SocketDomain
Socket communications domain
|
static class |
SocketOptions.SocketType
Socket type
|
| Constructor and Description |
|---|
SocketOptions()
Creates a new set of socket options
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canReleaseReferencesImmediately()
Determines whether a resource releases its dependencies at the same time the native handle is released or if it waits.
|
protected void |
releaseNativeHandle()
Frees the native resources for this set of socket options
|
acquireNativeHandle, addReferenceTo, close, collectNativeResources, getNativeHandle, isNativeResource, isNull, logNativeResources, releaseReferences, waitForNoResourcespublic SocketOptions()
throws CrtRuntimeException
CrtRuntimeException - If the system is unable to allocate space for a native socket options instanceprotected boolean canReleaseReferencesImmediately()
canReleaseReferencesImmediately in class CrtResourceprotected void releaseNativeHandle()
releaseNativeHandle in class CrtResourceCopyright © 2019. All rights reserved.