| Modifier and Type | Method and Description |
|---|---|
| public default Optional | Returns: FileDescriptor, instantiated with provided value, packed to Optional if operation succeeded, or Optional#empty() otherwiseFileDescriptor to extract value from _fd)Attempts to create native |
| public IMessageReader | Returns: MessageReadersocket to use for reading _socket)Method to create a |
| public IMessageWriter | Returns: MessageWritersocket to write to _socket)Method to create a |
| public default Optional | Returns: int representation, packed toOptional if operation succeeded, or Optional#empty() otherwiseFileDescriptor to extract value from _fd)Attempts to extract raw FileDescriptor value from |
| public boolean | Returns: true if file descriptors are supported by this provider, false otherwiseIndicate if reader/writer supports file descriptor passing. |
| public void | setFileDescriptorSupport(boolean
true if file descriptor passing is supported, false otherwise _support)Called to indicate if the current |
| createFileDescriptor | back to summary |
|---|---|
| public default Optional Attempts to create native
| |
| createReader | back to summary |
|---|---|
| public IMessageReader createReader(SocketChannel _socket) throws IOException Method to create a
| |
| createWriter | back to summary |
|---|---|
| public IMessageWriter createWriter(SocketChannel _socket) throws IOException Method to create a
| |
| getFileDescriptorValue | back to summary |
|---|---|
| public default Optional Attempts to extract raw FileDescriptor value from
| |
| isFileDescriptorPassingSupported | back to summary |
|---|---|
| public boolean isFileDescriptorPassingSupported() Indicate if reader/writer supports file descriptor passing. This is to show if the provider is able to handle file descriptors.
| |
| setFileDescriptorSupport | back to summary |
|---|---|
| public void setFileDescriptorSupport(boolean _support) Called to indicate if the current
| |