public SubNodeHandler(string node, OnXmppMsgHandler handler) { m_node = node; m_handler = handler; }
public void Subscribe(string node, OnXmppMsgHandler handler) { m_psMgr.OnEvent += new EventHandler <MessageEventArgs>(handler); m_psMgr.Subscribe(m_psJid, node, m_user + "@" + m_server, new EventHandler <IqEventArgs>(OnSubscribe)); m_subNH.Add(new SubNodeHandler(node, handler)); }
public void Subscribe(string node, OnXmppMsgHandler handler) { m_psMgr.OnEvent += new EventHandler<MessageEventArgs>(handler); m_psMgr.Subscribe(m_psJid, node, m_user + "@" + m_server, new EventHandler<IqEventArgs>(OnSubscribe)); m_subNH.Add(new SubNodeHandler(node, handler)); }