예제 #1
0
        public override void PrepareClient1(XmppClient Client)
        {
            base.PrepareClient1(Client);
            this.httpxClient1 = new HttpxClient(Client, this.endpointSecurity1, 8192);

            foreach (ISniffer Sniffer in Client.Sniffers)
            {
                this.webServer.Add(Sniffer);
            }
        }
예제 #2
0
        public override void DisposeClients()
        {
            this.httpxServer?.Dispose();
            this.httpxServer = null;

            this.httpxClient1?.Dispose();
            this.httpxClient1 = null;

            this.httpxClient2?.Dispose();
            this.httpxClient2 = null;

            base.DisposeClients();
        }
예제 #3
0
 public override void PrepareClient2(XmppClient Client)
 {
     base.PrepareClient2(Client);
     this.httpxClient2 = new HttpxClient(Client, this.endpointSecurity2, 8192);
     this.httpxServer  = new HttpxServer(Client, this.webServer, 8192);
 }