Liking cljdoc? Tell your friends :D

async-connect.client


add-client-handlerclj

(add-client-handler netty-channel context read-ch write-ch)
source

add-future-listenerclj

(add-future-listener prms read-ch)
source

close-connectionclj

(close-connection {:async-connect.client/keys [channel read-ch write-ch]
                   :as connection})
source

closed?clj

(closed? {:async-connect.client/keys [channel]})
source

connectclj

(connect factory host port)
(connect factory host port read-ch write-ch)
source

connection-factoryclj

(connection-factory)
(connection-factory bootstrap-delay)
source

IConnectioncljprotocol

closeclj

(close this)
(close this force?)

Close this connection. In simple implementation, a netty connection held by this connection will be closed. If this connection uses a kind of connection pools, calling close will not close a read connection, but return the connection to a pool. if force? is true, the connection must be really closed instead of returning it into a pool.

Close this connection. In simple implementation, a netty connection held by this connection will be closed.
If this connection uses a kind of connection pools, calling `close` will not close a read connection, but
return the connection to a pool.
if `force?` is true, the connection must be really closed instead of returning it into a pool.
source

IConnectionFactorycljprotocol

create-connectionclj

(create-connection this host port read-ch write-ch)

Connect to a port of a host using bootstrap, and return a IConnection object. If read-ch and write-ch are supplied, all data written and read are transfered to the supplied channels, If read-ch and write-ch aren't supplied, channels made by (chan) are used.

Connect to a `port` of a `host` using `bootstrap`, and return a IConnection object.
If read-ch and write-ch are supplied, all data written and read are transfered to the supplied channels,
If read-ch and write-ch aren't supplied, channels made by `(chan)` are used.
source

make-bootstrapclj

(make-bootstrap)
(make-bootstrap {:keys [:async-connect.client/bootstrap-initializer
                        :async-connect.client/channel-initializer]
                 :as config})
source

make-client-inbound-handler-mapclj

(make-client-inbound-handler-map read-ch write-ch)
source

make-default-promiseclj

(make-default-promise ctx read-ch)
source

NettyConnectionclj

source

NettyConnectionFactoryclj

source

sample-connectclj

(sample-connect)
source

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

× close