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

A simple container class for messages from the middleware.

By design we put everything we care for in a payload of the message and do not rely on any headers, special data formats etc as produced by the middleware, using this abstraction means we can enforce that

Methods

new  

Attributes

payload  [R] 

Public Class methods

[Source]

    # File lib/mcollective/request.rb, line 10
10:         def initialize(payload)
11:             @payload = payload
12:         end

[Validate]