Class: Blather::Stream

Inherits:
Object
  • Object
show all
Defined in:
omf_common/lib/omf_common/comm/xmpp/communicator.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) unbind

Raises:

  • (NoConnection)


30
31
32
33
34
35
36
# File 'omf_common/lib/omf_common/comm/xmpp/communicator.rb', line 30

def unbind
  cleanup
  raise NoConnection unless @inited
  @state = :stopped
  @client.receive_data @error if @error
  @client.unbind
end