Class MCollective::RPC::Request
In: lib/mcollective/rpc/request.rb
Parent: Object

Simple class to manage compliant requests for MCollective::RPC agents

Methods

[]   fetch   include?   new   should_respond?   to_hash   to_json   validate!  

Attributes

action  [RW] 
agent  [RW] 
caller  [RW] 
data  [RW] 
ddl  [RW] 
sender  [RW] 
time  [RW] 
uniqid  [RW] 

Public Class methods

Public Instance methods

If data is a hash, gives easy access to its members, else returns nil

If data is a hash, quick helper to get access to it‘s include? method else returns false

If no :process_results is specified always respond else respond based on the supplied property

Validate the request against the DDL

[Validate]