Пример #1
0
        public IqGrabber(XmppComponentConnection conn)
        {
            this.m_connection = conn;
#if MONOSSL
            conn.OnIq += new agsXMPP.protocol.component.IqHandler(OnIqComponent);
#else
            conn.OnIq += new XmppComponentConnection.ComponentIQHandler(this.OnIq);
#endif
        }
Пример #2
0
 public IqGrabber(XmppComponentConnection connection)
 {
     this.Connection = connection;
     ((XmppComponentConnection)this.Connection).OnIq += this.OnComponentIq;
 }