knio
Toggle table of contents
0.1.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
knio
knio
/
org.ivcode.knio.context
/
ChannelFactory
Channel
Factory
interface
ChannelFactory
Factory for creating asynchronous I/O channels.
Inheritors
ChannelFactoryDefault
Members
Functions
open
File
Channel
Link copied to clipboard
abstract
fun
openFileChannel
(
file
:
Path
,
vararg
options
:
OpenOption
)
:
AsynchronousFileChannel
open
Server
Socket
Channel
Link copied to clipboard
abstract
fun
openServerSocketChannel
(
)
:
AsynchronousServerSocketChannel
open
Socket
Channel
Link copied to clipboard
abstract
fun
openSocketChannel
(
)
:
AsynchronousSocketChannel
shutdown
Link copied to clipboard
abstract
fun
shutdown
(
)
Shuts down the factory and releases any resources.