class BotMob::Networks::Roaming::Connection
## BotMob::Networks::Roaming::Connection
The Connection
is the point of contact between the Bot
and the specified network
Attributes
bot[R]
Public Instance Methods
client()
click to toggle source
# File lib/bot_mob/networks/roaming/connection.rb, line 28 def client self end
connect()
click to toggle source
# File lib/bot_mob/networks/roaming/connection.rb, line 16 def connect BotMob.logger.info 'Connecting... ' end
deliver(outbound_message, _options = {})
click to toggle source
# File lib/bot_mob/networks/roaming/connection.rb, line 11 def deliver(outbound_message, _options = {}) BotMob.logger.info " Roaming Connection Sent: #{outbound_message.inspect}" outbound_message end
reconnect()
click to toggle source
# File lib/bot_mob/networks/roaming/connection.rb, line 20 def reconnect BotMob.logger.info 'Reconnecting... ' end
refresh()
click to toggle source
# File lib/bot_mob/networks/roaming/connection.rb, line 24 def refresh BotMob.logger.info 'Refreshing... ' end