示例#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);
        }
        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;
 }
 public XMPPPresenceRequest(XMPPAuthenticatedStream xmppStream)
 {
     m_xmppStream = xmppStream;
 }
示例#7
0
 public XMPPPresenceRequest(XMPPAuthenticatedStream xmppStream)
 {
     m_xmppStream = xmppStream;
 }
 public XMPPJingleRequest(XMPPAuthenticatedStream xmppStream, string to)
 {
     m_xmppStream = xmppStream;
     m_to = to;
     m_sessionID = Crypto.GetRandomString(6);
 }
 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;
 }