Liking cljdoc? Tell your friends :D

mirabelle.transport.tcp


build-initializerclj

(build-initializer stream-handler
                   tcp-timer
                   shared-event-executor
                   channel-group
                   ssl-context)

A channel pipeline initializer for a TCP server.

A channel pipeline initializer for a TCP server.
sourceraw docstring

epoll-netty-implementationclj

(epoll-netty-implementation)
source

gen-tcp-handlerclj

(gen-tcp-handler stream-handler registry channel-group handler)

Wraps Netty boilerplate for common TCP server handlers. Given a reference to a core, a stats package, a channel group, and a handler fn, returns a ChannelInboundHandlerAdapter which calls (handler core stats channel-handler-context message) for each received message.

Automatically handles channel closure, and handles exceptions thrown by the handler by logging an error and closing the channel.

Wraps Netty boilerplate for common TCP server handlers. Given a reference to
a core, a stats package, a channel group, and a handler fn, returns a
ChannelInboundHandlerAdapter which calls (handler core stats
channel-handler-context message) for each received message.

Automatically handles channel closure, and handles exceptions thrown by the
handler by logging an error and closing the channel.
sourceraw docstring

get-netty-implementationclj

(get-netty-implementation native?)
source

int32-frame-decoderclj

(int32-frame-decoder)
source

int32-frame-encoderclj

(int32-frame-encoder)
source

kqueue-netty-implementationclj

(kqueue-netty-implementation)
source

nio-netty-implementationclj

(nio-netty-implementation)
source

ssl-handlerclj

(ssl-handler context)

Given an SSLContext, creates a new SSLEngine and a corresponding Netty SslHandler wrapping it.

Given an SSLContext, creates a new SSLEngine and a corresponding Netty
SslHandler wrapping it.
sourceraw docstring

tcp-handlerclj

(tcp-handler stream-handler tcp-timer ctx message)

Given a core, a channel, and a message, applies the message to core and writes a response back on this channel.

Given a core, a channel, and a message, applies the message to core and
writes a response back on this channel.
sourceraw docstring

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

× close