Exception: Jabber::JabberConnectionException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/jabber4r/protocol.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(writing, data) ⇒ JabberConnectionException

Returns a new instance of JabberConnectionException.



15
16
17
18
# File 'lib/jabber4r/protocol.rb', line 15

def initialize(writing, data)
  @writing = writing
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



13
14
15
# File 'lib/jabber4r/protocol.rb', line 13

def data
  @data
end

Instance Method Details

#writing?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/jabber4r/protocol.rb', line 20

def writing?
  @writing
end