class MCollective::Request

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

Attributes

payload[R]

Public Class Methods

new(payload) click to toggle source
# File lib/mcollective/request.rb, line 10
def initialize(payload)
    @payload = payload
end