class Voltron::Defender::Stop
Public Instance Methods
help()
click to toggle source
# File lib/voltron/defender/commands/stop.rb, line 7 def help "# Stop and close the connection. It will be restarted if/when another exception occurs\n.stop|.close|.end|.disconnect\n" end
respond_with(adapter)
click to toggle source
# File lib/voltron/defender/commands/stop.rb, line 15 def respond_with(adapter) if adapter.client.started? adapter.client.stop! end end
responds_to()
click to toggle source
# File lib/voltron/defender/commands/stop.rb, line 11 def responds_to ['stop', 'close', 'end', 'disconnect'] end