Пример #1
0
        static XmppGlobal()
        {
            jabber_client = new JabberClient();

            roster_manager        = new RosterManager();
            roster_manager.Stream = jabber_client;

            presence_manager        = new PresenceManager();
            presence_manager.Stream = jabber_client;

            iq_tracker = new IQTracker(jabber_client);

            connection  = new Connection();
            debug       = new Debug();
            disco       = new Disco();
            presence    = new Presence();
            roster      = new Roster();
            queries     = new Queries();
            query_cache = new QueryCache();
            messaging   = new Messaging();
        }
Пример #2
0
        static XmppGlobal()
        {
            jabber_client = new JabberClient ();

            roster_manager = new RosterManager ();
            roster_manager.Stream = jabber_client;

            presence_manager = new PresenceManager ();
            presence_manager.Stream = jabber_client;

            iq_tracker = new IQTracker (jabber_client);

            connection = new Connection ();
            debug = new Debug ();
            disco = new Disco ();
            presence = new Presence ();
            roster = new Roster ();
            queries = new Queries ();
            query_cache = new QueryCache ();
            messaging = new Messaging ();
        }