Пример #1
0
 public XMPPPhoneSession(string jid, XMPPAuthenticatedStream xmppStream)
 {
     m_sessionID  = Crypto.GetRandomString(6);
     m_jid        = jid;
     m_xmppStream = xmppStream;
     m_xmppStream.RegisterSession(m_sessionID, OnIQRequest);
 }
Пример #2
0
 public XMPPPhoneSession(string jid, XMPPAuthenticatedStream xmppStream)
 {
     m_sessionID = Crypto.GetRandomString(6);
     m_jid = jid;
     m_xmppStream = xmppStream;
     m_xmppStream.RegisterSession(m_sessionID, OnIQRequest);
 }
Пример #3
0
        private void XMPPStreamAuthenticated()
        {
            logger.Debug("XMPP client now authenticated as " + m_fromUsername + ", initiating binding.");

            m_authWrappedStream           = new WrappedStream(m_sslStream);
            m_authenticatedStream         = new XMPPAuthenticatedStream(m_authWrappedStream);
            m_authenticatedStream.IsBound = IsBound;
            m_authenticatedStream.Start(m_server, null, m_fromUsername);
        }
Пример #4
0
        private void XMPPStreamAuthenticated()
        {
            logger.Debug("XMPP client now authenticated as " + m_fromUsername + ", initiating binding.");

            m_authWrappedStream = new WrappedStream(m_sslStream, m_traceStream);
            m_authenticatedStream = new XMPPAuthenticatedStream(m_authWrappedStream);
            m_authenticatedStream.IsBound = IsBound;
            m_authenticatedStream.Start(m_server, null, m_fromUsername);
        }
 public XMPPServiceDiscoveryRequest(XMPPAuthenticatedStream xmppStream, string to)
 {
     m_xmppStream = xmppStream;
     m_to = to;
 }
Пример #6
0
 public XMPPPresenceRequest(XMPPAuthenticatedStream xmppStream)
 {
     m_xmppStream = xmppStream;
 }
Пример #7
0
 public XMPPPresenceRequest(XMPPAuthenticatedStream xmppStream)
 {
     m_xmppStream = xmppStream;
 }
Пример #8
0
 public XMPPJingleRequest(XMPPAuthenticatedStream xmppStream, string to)
 {
     m_xmppStream = xmppStream;
     m_to = to;
     m_sessionID = Crypto.GetRandomString(6);
 }
Пример #9
0
 public XMPPMessageRequest(XMPPAuthenticatedStream xmppStream, string to)
 {
     m_xmppStream = xmppStream;
     m_to = to;
 }
Пример #10
0
 public XMPPJingleRequest(XMPPAuthenticatedStream xmppStream, string to)
 {
     m_xmppStream = xmppStream;
     m_to         = to;
     m_sessionID  = Crypto.GetRandomString(6);
 }
Пример #11
0
 public XMPPRosterRequest(XMPPAuthenticatedStream xmppStream)
 {
     m_xmppStream = xmppStream;
 }
Пример #12
0
 public XMPPRosterRequest(XMPPAuthenticatedStream xmppStream)
 {
     m_xmppStream = xmppStream;
 }
Пример #13
0
 public XMPPServiceDiscoveryRequest(XMPPAuthenticatedStream xmppStream, string to)
 {
     m_xmppStream = xmppStream;
     m_to         = to;
 }
Пример #14
0
 public XMPPMessageRequest(XMPPAuthenticatedStream xmppStream, string to)
 {
     m_xmppStream = xmppStream;
     m_to         = to;
 }