Module: RightScale::Actor::InstanceMethods

Defined in:
lib/right_agent/actor.rb

Overview

ClassMethods

Instance Method Summary collapse

Instance Method Details

#send_push(*args) ⇒ Object

Helper method to send a request to one or more targets with no response expected



167
168
169
# File 'lib/right_agent/actor.rb', line 167

def send_push(*args)
  Sender.instance.send_push(*args)
end

#send_request(*args, &blk) ⇒ Object

Helper method to send a request to a single target with a response expected The request is retried if the response is not received in a reasonable amount of time The request is allowed to expire per the agent’s configured time-to-live, typically 1 minute



174
175
176
# File 'lib/right_agent/actor.rb', line 174

def send_request(*args, &blk)
  Sender.instance.send_request(*args, &blk)
end