RegisterSession() public méthode

public RegisterSession ( string session, Action handler ) : void
session string
handler Action
Résultat void
Exemple #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);
 }