Bus::Message
Inherits Struct < Value < Object
Constructors
new(pipeline : Pipeline(Message) | Nil = nil, body : Array(String) = [""], tags : Array(String) = [] of String, parameters : Hash(String, String) = Hash(String, String).new, origin : String | Nil = nil, uuid : CSUUID = CSUUID.new, strategy : Strategy = Strategy::RandomWinner)
Sourcenew(bus : Bus, body : Array(String) = [""], tags : Array(String) = [] of String, parameters : Hash(String, String) = Hash(String, String).new, origin : String | Nil = nil, uuid : CSUUID = CSUUID.new, strategy : Strategy = Strategy::RandomWinner)
SourceInstance methods
body
Sourceevaluated
Sourceevaluated=(evaluated : Bool)
Sourceorigin
Sourceparameters
Sourcepipeline
Sourcepipeline=(pipeline : Pipeline(Message) | Nil)
Sourcereply(message : Message)
Sourcereply(body : String = "", parameters : Hash(String, String) = Hash(String, String).new, tags : Array(String) = [] of String)
Sourcereply(body : Array(String) = [""], parameters : Hash(String, String) = Hash(String, String).new, tags : Array(String) = [] of String)
Sourcesend_evaluation(receiver, relevance = 0, certainty = 0, force = nil, uuid = @uuid)
Sourcestrategy
Sourcetags
Sourceuuid
Source