Ejemplo n.º 1
0
 void IStanzaEventListener.StreamInit(ElementStream stream)
 {
     if (OnStreamInit != null)
     {
         // Race condition.  Make sure not to make GUI calls in OnStreamInit
         /*
         if (InvokeRequired)
             CheckedInvoke(OnStreamInit, new object[] { this, stream });
         else
       */
             OnStreamInit(this, stream);
     }
 }
Ejemplo n.º 2
0
 private void JabberClient_OnStreamInit(Object sender, ElementStream stream)
 {
     stream.AddFactory(new protocol.client.Factory());
     stream.AddFactory(new protocol.iq.Factory());
     stream.AddFactory(new protocol.x.Factory());
 }
Ejemplo n.º 3
0
 private void JabberService_OnStreamInit(Object sender, ElementStream stream)
 {
     stream.AddFactory(new jabber.protocol.accept.Factory());
 }