Created
June 5, 2009 16:04
-
-
Save ndarilek/124348 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'blather/client' | |
Blather.logger.level = Logger::DEBUG | |
when_ready { puts "Connected ! send messages to #{jid.stripped}." } | |
subscription :request? do |s| | |
write s.approve! | |
end | |
message :chat?, :body => 'exit' do |m| | |
say m.from, 'Exiting ...' | |
shutdown | |
end | |
message :chat?, :body do |m| | |
say m.from, "You sent: #{m.body}" | |
end | |
setup("utterance.localhost", "secret", "localhost", 5347) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D, [2009-06-05T10:59:55.644569 #3579] DEBUG -- : NEW JID: utterance.localhost | |
D, [2009-06-05T10:59:55.645288 #3579] DEBUG -- : SENDING: (/var/lib/gems/1.8/gems/blather-0.4.0/lib/blather/stream/component.rb:33:in `start') <stream:stream to='utterance.localhost' xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' > | |
D, [2009-06-05T10:59:55.646598 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T10:59:55.646805 #3579] DEBUG -- : << <stream:stream id='bf901204-2dd0-4ded-a749-0e795f9c1f81' xmlns:stream='http://etherx.jabber.org/streams' from='utterance.localhost' xmlns='jabber:component:accept'> | |
D, [2009-06-05T10:59:55.646953 #3579] DEBUG -- : PARSING: (<stream:stream id='bf901204-2dd0-4ded-a749-0e795f9c1f81' xmlns:stream='http://etherx.jabber.org/streams' from='utterance.localhost' xmlns='jabber:component:accept'>) | |
D, [2009-06-05T10:59:55.647417 #3579] DEBUG -- : START ELEM: ({:ns=>{"stream"=>"http://etherx.jabber.org/streams", nil=>"jabber:component:accept"}, :elem=>"stream", :uri=>"http://etherx.jabber.org/streams", :prefix=>"stream", :attrs=>{"from"=>"utterance.localhost", "id"=>"bf901204-2dd0-4ded-a749-0e795f9c1f81"}}) | |
D, [2009-06-05T10:59:55.648171 #3579] DEBUG -- : RECEIVING (stream) <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="utterance.localhost" id="bf901204-2dd0-4ded-a749-0e795f9c1f81"/> | |
D, [2009-06-05T10:59:55.650285 #3579] DEBUG -- : SENDING: (/var/lib/gems/1.8/gems/blather-0.4.0/lib/blather/stream/component.rb:15:in `receive') <handshake>d23b4ae9fe47e28ee6f7b606e6c264564e30f36e</handshake> | |
D, [2009-06-05T10:59:55.653130 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T10:59:55.653337 #3579] DEBUG -- : << <handshake></handshake> | |
D, [2009-06-05T10:59:55.653480 #3579] DEBUG -- : PARSING: (<handshake></handshake>) | |
D, [2009-06-05T10:59:55.653725 #3579] DEBUG -- : START ELEM: ({:ns=>{}, :elem=>"handshake", :uri=>"jabber:component:accept", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T10:59:55.694363 #3579] DEBUG -- : END ELEM: {:elem=>"handshake", :uri=>"jabber:component:accept", :prefix=>nil} | |
Connected ! send messages to utterance.localhost. | |
D, [2009-06-05T11:00:03.967101 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T11:00:03.967309 #3579] DEBUG -- : << <message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca3' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><composing xmlns='http://jabber.org/protocol/chatstates'></composing></message> | |
D, [2009-06-05T11:00:03.967451 #3579] DEBUG -- : PARSING: (<message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca3' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><composing xmlns='http://jabber.org/protocol/chatstates'></composing></message>) | |
D, [2009-06-05T11:00:03.967759 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:client"}, :elem=>"message", :uri=>"jabber:client", :prefix=>nil, :attrs=>{"from"=>"nolan@localhost/Eee", "id"=>"purple5d34fca3", "to"=>"utterance.localhost", "type"=>"chat"}}) | |
D, [2009-06-05T11:00:03.968343 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"x", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:03.968959 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:03.969391 #3579] DEBUG -- : END ELEM: {:elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:03.969599 #3579] DEBUG -- : END ELEM: {:elem=>"x", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:03.969853 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/chatstates"}, :elem=>"composing", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:03.970249 #3579] DEBUG -- : END ELEM: {:elem=>"composing", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil} | |
D, [2009-06-05T11:00:03.970463 #3579] DEBUG -- : END ELEM: {:elem=>"message", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:03.970897 #3579] DEBUG -- : RECEIVING (message) <message xmlns="jabber:client" from="nolan@localhost/Eee" id="purple5d34fca3" to="utterance.localhost" type="chat"> | |
<x xmlns="jabber:x:event"> | |
<composing xmlns="jabber:x:event"/> | |
</x> | |
<composing xmlns="http://jabber.org/protocol/chatstates"/> | |
</message> | |
D, [2009-06-05T11:00:04.800996 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T11:00:04.801245 #3579] DEBUG -- : << <message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca4' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><active xmlns='http://jabber.org/protocol/chatstates'></active><body>echo</body><html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'>echo</body></html></message> | |
D, [2009-06-05T11:00:04.801420 #3579] DEBUG -- : PARSING: (<message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca4' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><active xmlns='http://jabber.org/protocol/chatstates'></active><body>echo</body><html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'>echo</body></html></message>) | |
D, [2009-06-05T11:00:04.801783 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:client"}, :elem=>"message", :uri=>"jabber:client", :prefix=>nil, :attrs=>{"from"=>"nolan@localhost/Eee", "id"=>"purple5d34fca4", "to"=>"utterance.localhost", "type"=>"chat"}}) | |
D, [2009-06-05T11:00:04.802437 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"x", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:04.803109 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:04.803742 #3579] DEBUG -- : END ELEM: {:elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:04.804048 #3579] DEBUG -- : END ELEM: {:elem=>"x", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:04.804380 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/chatstates"}, :elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:04.804895 #3579] DEBUG -- : END ELEM: {:elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil} | |
D, [2009-06-05T11:00:04.805188 #3579] DEBUG -- : START ELEM: ({:ns=>{}, :elem=>"body", :uri=>"jabber:client", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:04.805569 #3579] DEBUG -- : CHARS: echo | |
D, [2009-06-05T11:00:04.805883 #3579] DEBUG -- : END ELEM: {:elem=>"body", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:04.806211 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/xhtml-im"}, :elem=>"html", :uri=>"http://jabber.org/protocol/xhtml-im", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:04.806838 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://www.w3.org/1999/xhtml"}, :elem=>"body", :uri=>"http://www.w3.org/1999/xhtml", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:04.807408 #3579] DEBUG -- : CHARS: echo | |
D, [2009-06-05T11:00:04.807735 #3579] DEBUG -- : END ELEM: {:elem=>"body", :uri=>"http://www.w3.org/1999/xhtml", :prefix=>nil} | |
D, [2009-06-05T11:00:04.808027 #3579] DEBUG -- : END ELEM: {:elem=>"html", :uri=>"http://jabber.org/protocol/xhtml-im", :prefix=>nil} | |
D, [2009-06-05T11:00:04.808312 #3579] DEBUG -- : END ELEM: {:elem=>"message", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:04.808743 #3579] DEBUG -- : RECEIVING (message) <message xmlns="jabber:client" from="nolan@localhost/Eee" id="purple5d34fca4" to="utterance.localhost" type="chat"> | |
<x xmlns="jabber:x:event"> | |
<composing xmlns="jabber:x:event"/> | |
</x> | |
<active xmlns="http://jabber.org/protocol/chatstates"/> | |
<body>echo</body> | |
<html xmlns="http://jabber.org/protocol/xhtml-im"> | |
<body xmlns="http://www.w3.org/1999/xhtml">echo</body> | |
</html> | |
</message> | |
D, [2009-06-05T11:00:05.069359 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T11:00:05.069629 #3579] DEBUG -- : << <message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca5' xmlns='jabber:client'><x xmlns='jabber:x:event'></x><active xmlns='http://jabber.org/protocol/chatstates'></active></message> | |
D, [2009-06-05T11:00:05.069839 #3579] DEBUG -- : PARSING: (<message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca5' xmlns='jabber:client'><x xmlns='jabber:x:event'></x><active xmlns='http://jabber.org/protocol/chatstates'></active></message>) | |
D, [2009-06-05T11:00:05.070362 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:client"}, :elem=>"message", :uri=>"jabber:client", :prefix=>nil, :attrs=>{"from"=>"nolan@localhost/Eee", "id"=>"purple5d34fca5", "to"=>"utterance.localhost", "type"=>"chat"}}) | |
D, [2009-06-05T11:00:05.071177 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"x", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:05.071806 #3579] DEBUG -- : END ELEM: {:elem=>"x", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:05.072233 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/chatstates"}, :elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:05.072823 #3579] DEBUG -- : END ELEM: {:elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil} | |
D, [2009-06-05T11:00:05.073188 #3579] DEBUG -- : END ELEM: {:elem=>"message", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:05.073706 #3579] DEBUG -- : RECEIVING (message) <message xmlns="jabber:client" from="nolan@localhost/Eee" id="purple5d34fca5" to="utterance.localhost" type="chat"> | |
<x xmlns="jabber:x:event"/> | |
<active xmlns="http://jabber.org/protocol/chatstates"/> | |
</message> | |
D, [2009-06-05T11:00:08.612763 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T11:00:08.612973 #3579] DEBUG -- : << <message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca6' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><composing xmlns='http://jabber.org/protocol/chatstates'></composing></message> | |
D, [2009-06-05T11:00:08.613114 #3579] DEBUG -- : PARSING: (<message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca6' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><composing xmlns='http://jabber.org/protocol/chatstates'></composing></message>) | |
D, [2009-06-05T11:00:08.613443 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:client"}, :elem=>"message", :uri=>"jabber:client", :prefix=>nil, :attrs=>{"from"=>"nolan@localhost/Eee", "id"=>"purple5d34fca6", "to"=>"utterance.localhost", "type"=>"chat"}}) | |
D, [2009-06-05T11:00:08.614016 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"x", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:08.614493 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:08.614931 #3579] DEBUG -- : END ELEM: {:elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:08.615194 #3579] DEBUG -- : END ELEM: {:elem=>"x", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:08.615455 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/chatstates"}, :elem=>"composing", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:08.615875 #3579] DEBUG -- : END ELEM: {:elem=>"composing", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil} | |
D, [2009-06-05T11:00:08.616112 #3579] DEBUG -- : END ELEM: {:elem=>"message", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:08.616437 #3579] DEBUG -- : RECEIVING (message) <message xmlns="jabber:client" from="nolan@localhost/Eee" id="purple5d34fca6" to="utterance.localhost" type="chat"> | |
<x xmlns="jabber:x:event"> | |
<composing xmlns="jabber:x:event"/> | |
</x> | |
<composing xmlns="http://jabber.org/protocol/chatstates"/> | |
</message> | |
D, [2009-06-05T11:00:09.257697 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T11:00:09.257940 #3579] DEBUG -- : << <message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca7' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><active xmlns='http://jabber.org/protocol/chatstates'></active><body>exit</body><html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'>exit</body></html></message> | |
D, [2009-06-05T11:00:09.258170 #3579] DEBUG -- : PARSING: (<message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca7' xmlns='jabber:client'><x xmlns='jabber:x:event'><composing xmlns='jabber:x:event'></composing></x><active xmlns='http://jabber.org/protocol/chatstates'></active><body>exit</body><html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'>exit</body></html></message>) | |
D, [2009-06-05T11:00:09.258542 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:client"}, :elem=>"message", :uri=>"jabber:client", :prefix=>nil, :attrs=>{"from"=>"nolan@localhost/Eee", "id"=>"purple5d34fca7", "to"=>"utterance.localhost", "type"=>"chat"}}) | |
D, [2009-06-05T11:00:09.259179 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"x", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.259833 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.260412 #3579] DEBUG -- : END ELEM: {:elem=>"composing", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:09.260717 #3579] DEBUG -- : END ELEM: {:elem=>"x", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:09.261067 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/chatstates"}, :elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.261650 #3579] DEBUG -- : END ELEM: {:elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil} | |
D, [2009-06-05T11:00:09.262151 #3579] DEBUG -- : START ELEM: ({:ns=>{}, :elem=>"body", :uri=>"jabber:client", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.262659 #3579] DEBUG -- : CHARS: exit | |
D, [2009-06-05T11:00:09.262986 #3579] DEBUG -- : END ELEM: {:elem=>"body", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:09.263382 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/xhtml-im"}, :elem=>"html", :uri=>"http://jabber.org/protocol/xhtml-im", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.264024 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://www.w3.org/1999/xhtml"}, :elem=>"body", :uri=>"http://www.w3.org/1999/xhtml", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.264525 #3579] DEBUG -- : CHARS: exit | |
D, [2009-06-05T11:00:09.264883 #3579] DEBUG -- : END ELEM: {:elem=>"body", :uri=>"http://www.w3.org/1999/xhtml", :prefix=>nil} | |
D, [2009-06-05T11:00:09.265158 #3579] DEBUG -- : END ELEM: {:elem=>"html", :uri=>"http://jabber.org/protocol/xhtml-im", :prefix=>nil} | |
D, [2009-06-05T11:00:09.265467 #3579] DEBUG -- : END ELEM: {:elem=>"message", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:09.266039 #3579] DEBUG -- : RECEIVING (message) <message xmlns="jabber:client" from="nolan@localhost/Eee" id="purple5d34fca7" to="utterance.localhost" type="chat"> | |
<x xmlns="jabber:x:event"> | |
<composing xmlns="jabber:x:event"/> | |
</x> | |
<active xmlns="http://jabber.org/protocol/chatstates"/> | |
<body>exit</body> | |
<html xmlns="http://jabber.org/protocol/xhtml-im"> | |
<body xmlns="http://www.w3.org/1999/xhtml">exit</body> | |
</html> | |
</message> | |
D, [2009-06-05T11:00:09.446063 #3579] DEBUG -- : | |
------------------------------ | |
D, [2009-06-05T11:00:09.446324 #3579] DEBUG -- : << <message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca8' xmlns='jabber:client'><x xmlns='jabber:x:event'></x><active xmlns='http://jabber.org/protocol/chatstates'></active></message> | |
D, [2009-06-05T11:00:09.446633 #3579] DEBUG -- : PARSING: (<message type='chat' to='utterance.localhost' from='nolan@localhost/Eee' id='purple5d34fca8' xmlns='jabber:client'><x xmlns='jabber:x:event'></x><active xmlns='http://jabber.org/protocol/chatstates'></active></message>) | |
D, [2009-06-05T11:00:09.447049 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:client"}, :elem=>"message", :uri=>"jabber:client", :prefix=>nil, :attrs=>{"from"=>"nolan@localhost/Eee", "id"=>"purple5d34fca8", "to"=>"utterance.localhost", "type"=>"chat"}}) | |
D, [2009-06-05T11:00:09.447806 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"jabber:x:event"}, :elem=>"x", :uri=>"jabber:x:event", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.448461 #3579] DEBUG -- : END ELEM: {:elem=>"x", :uri=>"jabber:x:event", :prefix=>nil} | |
D, [2009-06-05T11:00:09.448886 #3579] DEBUG -- : START ELEM: ({:ns=>{nil=>"http://jabber.org/protocol/chatstates"}, :elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil, :attrs=>{}}) | |
D, [2009-06-05T11:00:09.449590 #3579] DEBUG -- : END ELEM: {:elem=>"active", :uri=>"http://jabber.org/protocol/chatstates", :prefix=>nil} | |
D, [2009-06-05T11:00:09.449957 #3579] DEBUG -- : END ELEM: {:elem=>"message", :uri=>"jabber:client", :prefix=>nil} | |
D, [2009-06-05T11:00:09.450491 #3579] DEBUG -- : RECEIVING (message) <message xmlns="jabber:client" from="nolan@localhost/Eee" id="purple5d34fca8" to="utterance.localhost" type="chat"> | |
<x xmlns="jabber:x:event"/> | |
<active xmlns="http://jabber.org/protocol/chatstates"/> | |
</message> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment