public XMPPPhoneSession(string jid, XMPPAuthenticatedStream xmppStream) { m_sessionID = Crypto.GetRandomString(6); m_jid = jid; m_xmppStream = xmppStream; m_xmppStream.RegisterSession(m_sessionID, OnIQRequest); }
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; }
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; }
public XMPPRosterRequest(XMPPAuthenticatedStream xmppStream) { m_xmppStream = xmppStream; }