RegisterSession() public method

public RegisterSession ( string session, Action handler ) : void
session string
handler Action
return void
Ejemplo n.º 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);
 }
 public XMPPPhoneSession(string jid, XMPPAuthenticatedStream xmppStream)
 {
     m_sessionID = Crypto.GetRandomString(6);
     m_jid = jid;
     m_xmppStream = xmppStream;
     m_xmppStream.RegisterSession(m_sessionID, OnIQRequest);
 }