Start() public method

public Start ( XMPP>.Action callback ) : void
callback XMPP>.Action
return void
Esempio n. 1
0
        private void RunXMPP()
        {
            XMPP xmpp = new XMPP(Config.XMPP_JID, OAuthTicket.AccessToken, Config.XMPPResourceName, "X-OAUTH2", Config.XMPPUseProxy ? Config.WebProxyHost : null, Config.XMPPUseProxy ? Config.WebProxyPort : 0, Config.XMPPHost, Config.XMPPPort);

            xmpp.Start((ex, x) => XMPP_Ended(ex, x));
            xmpp.Subscribe("cloudprint.google.com", ProcessPush);
            XMPP = xmpp;
        }
 private void RunXMPP()
 {
     XMPP xmpp = new XMPP(Config.XMPP_JID, OAuthTicket.AccessToken, Config.XMPPResourceName, "X-OAUTH2", Config.XMPPUseProxy ? Config.WebProxyHost : null, Config.XMPPUseProxy ? Config.WebProxyPort : 0, Config.XMPPHost, Config.XMPPPort);
     xmpp.Start((ex, x) => XMPP_Ended(ex, x));
     xmpp.Subscribe("cloudprint.google.com", ProcessPush);
     XMPP = xmpp;
 }