Exemplo n.º 1
0
        public Session(Account account)
        {
            Account = account;
            Stream  = new Stream();

            StanzaManager            = new StanzaManager();
            Stream.OnStanzaReceived += StanzaManager.HandleStanza;

            SetupNegotiation();
        }
Exemplo n.º 2
0
        public Session(Account account)
        {
            Account = account;
            Stream = new Stream();

            StanzaManager = new StanzaManager();
            Stream.OnStanzaReceived += StanzaManager.HandleStanza;

            SetupNegotiation();
        }