Liking cljdoc? Tell your friends :D

puppetlabs.pcp.broker.message


make-messageclj

source

Messageclj

source

multicast-message?clj

(multicast-message? message)

Inputs: [message :- Message] Returns: s/Bool

Returns a boolean specifying whether the message uses multicast in the target field.

Inputs: [message :- Message]
Returns: s/Bool

Returns a boolean specifying whether the message uses multicast in the target field.
sourceraw docstring

v1->v2clj

(v1->v2 v1-msg)

Inputs: [v1-msg :- m1/Message] Returns: Message

Transform a v1 Message to a v2 Message.

Inputs: [v1-msg :- m1/Message]
Returns: Message

Transform a v1 Message to a v2 Message.
sourceraw docstring

v1-codecclj

source

v1-decodeclj

(v1-decode bytes)

Inputs: [bytes :- bytes] Returns: Message

Transform a v1 wire format message to a clojure map conforming to the latest message schema.

Inputs: [bytes :- bytes]
Returns: Message

Transform a v1 wire format message to a clojure map conforming
 to the latest message schema.
sourceraw docstring

v1-encodeclj

(v1-encode message)

Inputs: [message :- Message] Returns: bytes

Encode a clojure map conforming to the latest message scheme to the v1 binary wire format.

Inputs: [message :- Message]
Returns: bytes

Encode a clojure map conforming to the latest message scheme to the
 v1 binary wire format.
sourceraw docstring

v2->v1clj

(v2->v1 {:keys [message_type data in_reply_to] :as v2-msg})

Inputs: [{:keys [message_type data in_reply_to], :as v2-msg} :- Message] Returns: m1/Message

Transform a v2 Message to a v1 Message.

Inputs: [{:keys [message_type data in_reply_to], :as v2-msg} :- Message]
Returns: m1/Message

Transform a v2 Message to a v1 Message.
sourceraw docstring

v2-codecclj

source

v2-decodeclj

source

v2-encodeclj

source

validate-not-multicastclj

(validate-not-multicast message)

Inputs: [message]

Inputs: [message]
sourceraw docstring

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

× close