예제 #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);
     }
 }
예제 #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());
 }
예제 #3
0
 private void JabberService_OnStreamInit(Object sender, ElementStream stream)
 {
     stream.AddFactory(new jabber.protocol.accept.Factory());
 }