clojang.conn

close

(close conn)

connected?

(connected? this)

Determine if the connection is still alive.

deliver

(deliver conn ex-or-msg)

exit

(exit dest-pid reason)

An alias for jiface.otp.connection/exit that automatically converts the reason argument to an appropriate Erlang type.

get-flags

(get-flags this)

get-msg-count

(get-msg-count this)

Return the number of messages currently waiting in the receive queue for this connection.

get-peer

(get-peer this)

Get information about the node at the peer end of this connection.

get-self

(get-self this)

Get information about the node at the local end of this connection.

get-trace-level

(get-trace-level this)

Get the trace level for this connection.

receive

(receive connx)(receive connx timeout)

An alias for jiface.otp.connection/receive that returns the received data as Clojure data types.

receive-buf

(receive-buf connx)(receive-buf connx timeout)

An alias for jiface.otp.connection/receive-buff that returns the received data as Clojure data types.

receive-msg

(receive-msg connx)(receive-msg connx timeout)

An alias for jiface.otp.connection/receive-msg that returns the received data as Clojure data types.

receive-rpc

(receive-rpc connx)

An alias for jiface.otp.connection/receive-rpc that returns the received data as Clojure data types.

run

(run conn)

send

(send connx dest msg)

An alias for jiface.otp.connection/send that also allows for mailbox and node name arguments to be symbols, keywords, or strings.

send-buf

(send-buf connx dest msg)

An alias for jiface.otp.connection/send-buf that also allows for mailbox and node name arguments to be symbols, keywords, or strings.

send-rpc

(send-rpc connx mod fun)(send-rpc connx mod fun args)

An alias for jiface.otp.connection/send-rpc that also allows for mailbox and node name arguments to be symbols, keywords, or strings.

set-flags

(set-flags conn flags)

set-trace-level

(set-trace-level this level-integer)

Set the trace level for this connection.