Пример #1
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.httpContext = new XIMS.Communication.HTTPProtocolContext();
     tcpip = new TCPIPTransport(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.mStateExtender)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mContextExtender)).BeginInit();
     // 
     // mContextExtender
     // 
     this.mContextExtender.DefaultContext = this.httpContext;
     ((System.ComponentModel.ISupportInitialize)(this.mStateExtender)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mContextExtender)).EndInit();
 }
Пример #2
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.ACK = new XIMS.Communication.AckSIP(this.components);
            this.BYE = new XIMS.Communication.ByeSIP(this.components);
            this.CANCEL = new XIMS.Communication.CancelSIP(this.components);
            this.INVITE = new XIMS.Communication.InviteSIP(this.components);
            this.OPTIONS = new XIMS.Communication.OptionsSIP(this.components);
            this.REGISTER = new XIMS.Communication.RegisterSIP(this.components);
            this.sipContext = new XIMS.Communication.SIPProtocolContext();
            this.tcpip = new XIMS.Communication.TCPIPTransport(this.components);
            this.tcpips = new XIMS.Communication.TCPIPTransport(this.components);
            this.udp = new XIMS.Communication.UDPTransport(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.transportExtender)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.authHandlerExtender)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.verbExtender)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mStateExtender)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mContextExtender)).BeginInit();
            // 
            // transportExtender
            // 
            this.transportExtender.DefaultTransport = this.udp;
            // 
            // mContextExtender
            // 
            this.mContextExtender.DefaultContext = this.sipContext;
            // 
            // ACK
            // 
            this.ACK.CommandDescription = "";
            this.ACK.CommandName = "";
            this.verbExtender.SetEnabled(this.ACK, true);
            // 
            // BYE
            // 
            this.BYE.CommandDescription = "";
            this.BYE.CommandName = "";
            this.verbExtender.SetEnabled(this.BYE, true);
            // 
            // CANCEL
            // 
            this.CANCEL.CommandDescription = "";
            this.CANCEL.CommandName = "";
            this.verbExtender.SetEnabled(this.CANCEL, true);
            // 
            // INVITE
            // 
            this.INVITE.CommandDescription = "";
            this.INVITE.CommandName = "";
            this.verbExtender.SetEnabled(this.INVITE, true);
            // 
            // OPTIONS
            // 
            this.OPTIONS.CommandDescription = "";
            this.OPTIONS.CommandName = "";
            this.verbExtender.SetEnabled(this.OPTIONS, true);
            // 
            // REGISTER
            // 
            this.REGISTER.CommandDescription = "";
            this.REGISTER.CommandName = "";
            this.verbExtender.SetEnabled(this.REGISTER, true);
            // 
            // sipContext
            // 
            this.mContextExtender.SetEnabled(this.sipContext, true);
            // 
            // tcpip
            // 
            this.tcpip.CommandDescription = "";
            this.tcpip.CommandName = "tcp";
            this.transportExtender.SetEnabled(this.tcpip, true);
            // 
            // tcpips
            // 
            this.tcpips.CommandDescription = "";
            this.tcpips.CommandName = "sips";
            // 
            // udp
            // 
            this.udp.CommandDescription = "";
            this.udp.CommandName = "sip";
            this.transportExtender.SetEnabled(this.udp, true);
            ((System.ComponentModel.ISupportInitialize)(this.transportExtender)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.authHandlerExtender)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.verbExtender)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mStateExtender)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mContextExtender)).EndInit();

        }