Class: Vines::Stanza::Iq::Session
- Inherits:
-
Vines::Stanza::Iq
- Object
- Vines::Stanza
- Vines::Stanza::Iq
- Vines::Stanza::Iq::Session
- Defined in:
- lib/vines/stanza/iq/session.rb
Overview
Session support is deprecated, but Adium requires it so reply with an iq result stanza.
Constant Summary
Constants inherited from Vines::Stanza::Iq
Constants inherited from Vines::Stanza
Instance Attribute Summary
Attributes inherited from Vines::Stanza
Instance Method Summary collapse
Methods inherited from Vines::Stanza::Iq
Methods inherited from Vines::Stanza
#broadcast, from_node, #initialize, #local?, #method_missing, register, #route, #router, #send_unavailable, #storage, #unavailable
Constructor Details
This class inherits a constructor from Vines::Stanza
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Vines::Stanza
Instance Method Details
#process ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/vines/stanza/iq/session.rb', line 11 def process doc = Document.new result = doc.create_element('iq', 'from' => stream.domain, 'id' => self['id'], 'type' => 'result') stream.write(result) end |