Liking cljdoc? Tell your friends :D

net.ty.bootstrap

A clojure facade to build netty bootstraps. In netty, bootstraps are helpers to get channels.

A clojure facade to build netty bootstraps.
In netty, bootstraps are helpers to get channels.
raw docstring

->channel-optionclj

(->channel-option k)
source

bind!clj

(bind! bs host port)

Bind bootstrap to a host and port

Bind bootstrap to a host and port
sourceraw docstring

bootstrapclj

(bootstrap config)

Build a client bootstrap from a configuration map

Build a client bootstrap from a configuration map
sourceraw docstring

channel-optionsclj

Valid options for bootstraps

Valid options for bootstraps
sourceraw docstring

connect!clj

(connect! bs)
(connect! bs sa)
(connect! bs x y)

Attempt connection of a bootstrap. Accepts as pre-configured bootstrap, and optionally a SocketAddressor Host and Port.

Attempt connection of a bootstrap. Accepts as pre-configured bootstrap,
and optionally a SocketAddressor Host and Port.
sourceraw docstring

epoll-datagram-channelclj

source

epoll-event-loop-groupclj

(epoll-event-loop-group)
(epoll-event-loop-group nb-threads)
source

epoll-server-socket-channelclj

source

epoll-socket-channelclj

source

local-address!clj

(local-address! bs x)
(local-address! bs x y)

Sets the bootstrap's local address. Accepts either a SocketAddress or Host and Port.

Sets the bootstrap's local address. Accepts either a SocketAddress or
Host and Port.
sourceraw docstring

nio-datagram-channelclj

source

nio-event-loop-groupclj

(nio-event-loop-group)
(nio-event-loop-group nb-threads)

Yield a new NioEventLoopGroup

Yield a new NioEventLoopGroup
sourceraw docstring

nio-server-socket-channelclj

source

nio-socket-channelclj

source

remote-address!clj

(remote-address! bs sa)
(remote-address! bs host port)

Set remote address for a client bootstrap, allows host and port to be provided as a SocketAddress

Set remote address for a client bootstrap, allows host and port
to be provided as a SocketAddress
sourceraw docstring

server-bootstrapclj

(server-bootstrap config)

Build a server bootstrap from a configuration map

Build a server bootstrap from a configuration map
sourceraw docstring

set-child-handler!clj

(set-child-handler! bootstrap handler)

A server bootstrap has a child handler, this methods helps set it

A server bootstrap has a child handler, this methods helps set it
sourceraw docstring

set-group!clj

(set-group! bs group)

Set the group on top of which channels will be created and then handled.

Set the group on top of which channels will be created and then handled.
sourceraw docstring

shutdown-fnclj

(shutdown-fn chan config)

Closure to shutdown a channel and associated group

Closure to shutdown a channel and associated group
sourceraw docstring

shutdown-gracefully!clj

(shutdown-gracefully! group)

Gracefully shut down a group

Gracefully shut down a group
sourceraw docstring

validate!clj

(validate! bs)

Validate that a bootstrap has correct parameters.

Validate that a bootstrap has correct parameters.
sourceraw docstring

write-buffer-water-markclj

(write-buffer-water-mark low high)
source

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

× close