コード例 #1
0
ファイル: XMPPPhoneSession.cs プロジェクト: xycui/sipsorcery
 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
ファイル: XMPPClient.cs プロジェクト: xycui/sipsorcery
        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);
        }
コード例 #5
0
 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
ファイル: XMPPJingleRequest.cs プロジェクト: xycui/sipsorcery
 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;
 }