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



139
140
141
# File 'lib/right_agent/actor.rb', line 139

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



146
147
148
# File 'lib/right_agent/actor.rb', line 146

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