Liking cljdoc? Tell your friends :D

net.ty.channel

Handy functions to deal with netty channels

Handy functions to deal with netty channels
raw docstring

active?clj

(active? channel)
source

add-to-groupclj

(add-to-group group chan)

Add a channel to a channel group

Add a channel to a channel group
sourceraw docstring

alloc!clj

(alloc! chan)
source

await!clj

(await! channel)

Wait on a channel

Wait on a channel
sourceraw docstring

channelclj

(channel x)
source

channel-groupclj

(channel-group name)

Create a named channel group

Create a named channel group
sourceraw docstring

channel?clj

(channel? x)
source

ChannelBridgecljprotocol

offer-valclj

(offer-val this v)
source

ChannelHoldercljprotocol

get-channelclj

(get-channel this)

Extract channel from holder

Extract channel from holder
source

ChannelResourcecljprotocol

close!clj

(close! this)

Request to close resource

Request to close resource

deregister!clj

(deregister! this)

disconnect!clj

(disconnect! this)

flush!clj

(flush! this)

Request to flush all pending messages

Request to flush all pending messages

write!clj

(write! this msg)

write a payload to resource

write a payload to resource

write-and-flush!clj

(write-and-flush! this msg)

write a payload, then flush a resource

write a payload, then flush a resource
source

close-futureclj

(close-future chan)

Get the close future for a channel

Get the close future for a channel
sourceraw docstring

compare-and-set-attr!clj

(compare-and-set-attr! chan k prev next)
source

configclj

(config chan)
source

get-and-remove-attr!clj

(get-and-remove-attr! chan k)
source

get-and-set-attr!clj

(get-and-set-attr! chan k v)
source

get-attrclj

(get-attr chan k)
source

get-attr-keyclj

(get-attr-key k)
source

get-attr-valueclj

(get-attr-value chan k)
source

open?clj

(open? channel)
source

pipelineclj

(pipeline chan)
source

read!clj

(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
sourceraw docstring

read-channelclj

(read-channel src bufsize)

Bridge a Netty Channel to a readable channel

Bridge a Netty Channel to a readable channel
sourceraw docstring

remove-attr!clj

(remove-attr! chan k)
source

remove-from-groupclj

(remove-from-group group chan)

Remove a channel from a channel group

Remove a channel from a channel group
sourceraw docstring

set-attr!clj

(set-attr! chan k v)
source

set-attr-if-absent!clj

(set-attr-if-absent! chan k v)
source

set-autoread!clj

(set-autoread! cfg autoread?)
source

sync!clj

(sync! chan)
source

sync-uninterruptibly!clj

(sync-uninterruptibly! chan)

Sync a channel, without interruptions

Sync a channel, without interruptions
sourceraw docstring

taker-fnclj

(taker-fn handler val)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close