# Path: pyxmpp/all.py

# 
# Path: pyxmpp/jabber/all.py



import libxml2
import time
import traceback
import sys
import logging
from pyxmpp.all import JID,Iq,Presence,Message,StreamError
from pyxmpp.jabber.all import Client
#!/usr/bin/python -u
# -*- coding: utf-8 -*-



class Disconnected(Exception):
    pass

class MyClient(Client):
    def session_started(self):
        self.stream.send(Presence())

    def idle(self):
        print "idle"

# Path: pyxmpp/all.py

# 
# Path: pyxmpp/jabber/all.py



# Path: examples/c2s_test.py
import libxml2
import time
import traceback
import sys
import logging
from pyxmpp.all import JID,Iq,Presence,Message,StreamError
from pyxmpp.jabber.all import Client

#!/usr/bin/python -u
# -*- coding: utf-8 -*-



class Disconnected(Exception):
    pass

class MyClient(Client):
    def session_started(self):
        self.stream.send(Presence())

    def idle(self):
        print "idle"

        Client.idle(self)