Handy functions to deal with netty channels
Handy functions to deal with netty channels
(add-to-group group chan)
Add a channel to a channel group
Add a channel to a channel group
(channel-group name)
Create a named channel group
Create a named channel group
(get-channel this)
Extract channel from holder
Extract channel from holder
(close! this)
Request to close resource
Request to close resource
(deregister! this)
(disconnect! this)
(flush! this)
Request to flush all pending messages
Request to flush all pending messages
(write! this msg)
write a payload to resource
write a payload to resource
(write-and-flush! this msg)
write a payload, then flush a resource
write a payload, then flush a resource
(close-future chan)
Get the close future for a channel
Get the close future for a channel
(read! channel)
Schedule read on a channel, preferably one with setAutoRead set to false
Schedule read on a channel, preferably one with setAutoRead set to false
(read-channel src bufsize)
Bridge a Netty Channel to a readable channel
Bridge a Netty Channel to a readable channel
(remove-from-group group chan)
Remove a channel from a channel group
Remove a channel from a channel group
(sync-uninterruptibly! chan)
Sync a channel, without interruptions
Sync a channel, without interruptions
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |