Class: Concord::Thrift::BoltManagerService::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/gen-rb/bolt_manager_service.rb

Instance Method Summary collapse

Instance Method Details

#recv_setEnvironmentVarObject



25
26
27
28
29
# File 'lib/gen-rb/bolt_manager_service.rb', line 25

def recv_setEnvironmentVar()
  result = receive_message(SetEnvironmentVar_result)
  raise result.e unless result.e.nil?
  return
end

#recv_signalObject



40
41
42
43
44
# File 'lib/gen-rb/bolt_manager_service.rb', line 40

def recv_signal()
  result = receive_message(Signal_result)
  raise result.e unless result.e.nil?
  return
end

#send_setEnvironmentVar(name, value) ⇒ Object



21
22
23
# File 'lib/gen-rb/bolt_manager_service.rb', line 21

def send_setEnvironmentVar(name, value)
  send_message('setEnvironmentVar', SetEnvironmentVar_args, :name => name, :value => value)
end

#send_signal(topologyId, s) ⇒ Object



36
37
38
# File 'lib/gen-rb/bolt_manager_service.rb', line 36

def send_signal(topologyId, s)
  send_message('signal', Signal_args, :topologyId => topologyId, :s => s)
end

#setEnvironmentVar(name, value) ⇒ Object



16
17
18
19
# File 'lib/gen-rb/bolt_manager_service.rb', line 16

def setEnvironmentVar(name, value)
  send_setEnvironmentVar(name, value)
  recv_setEnvironmentVar()
end

#signal(topologyId, s) ⇒ Object



31
32
33
34
# File 'lib/gen-rb/bolt_manager_service.rb', line 31

def signal(topologyId, s)
  send_signal(topologyId, s)
  recv_signal()
end