예제 #1
0
        public void NetTrace_Default_Config()
        {
            _NetTraceSink  sink;
            NetTracePacket packet;

            try
            {
                sink = new _NetTraceSink();
                Config.SetConfig(null);
                NetTrace.Start();
                NetTrace.Enable("subsystem", 10);

                NetTraceSink.Start(new NetTraceSinkDelegate(sink.OnReceive));

                NetTrace.Write("subsystem", 10, "event", "summary", "details");
                sink.Wait(1);
                packet = sink.Dequeue();

                Assert.AreEqual("subsystem", packet.Subsystem);
                Assert.AreEqual(10, packet.Detail);
                Assert.AreEqual("event", packet.Event);
                Assert.AreEqual("summary", packet.Summary);
                Assert.AreEqual("details", packet.Details);
            }
            finally
            {
                NetTrace.Stop();
            }
        }
예제 #2
0
        public void Initalize()
        {
            NetTrace.Start();
            NetTrace.Enable(DnsResolver.TraceSubSystem, 0);

            DnsResolver.Bind();
        }
예제 #3
0
        public void NetTrace_Setting_Config()
        {
            _NetTraceSink  sink;
            NetTracePacket packet;

            try
            {
                sink = new _NetTraceSink();
                Config.SetConfig(@"

Diagnostics.TraceEP        = 231.222.0.77:44411
Diagnostics.TraceAdapter   = $(ip-address)
Diagnostics.TraceEnable[0] = 255:subsystem
");

                NetTrace.Start();
                NetTraceSink.Start(new NetTraceSinkDelegate(sink.OnReceive));

                NetTrace.Write("subsystem", 255, "event", "summary", "details");
                sink.Wait(1);
                packet = sink.Dequeue();

                Assert.AreEqual("subsystem", packet.Subsystem);
                Assert.AreEqual(255, packet.Detail);
                Assert.AreEqual("event", packet.Event);
                Assert.AreEqual("summary", packet.Summary);
                Assert.AreEqual("details", packet.Details);
                Assert.AreEqual(44411, packet.SourceEP.Port);
            }
            finally
            {
                NetTrace.Stop();
            }
        }
예제 #4
0
        public void Initialize()
        {
            NetTrace.Start();
            NetTrace.Enable(MsgRouter.TraceSubsystem, 1);

            AsyncTracker.Enable = false;
            AsyncTracker.Start();
        }
예제 #5
0
        public void Initialize()
        {
            NetTrace.Start();
            Helper.SetLocalGuidMode(GuidMode.CountUp);

            NetTrace.Enable(MsgRouter.TraceSubsystem, 255);
            NetTrace.Enable(ParallelQuerySession.TraceSubsystem, 255);
        }
예제 #6
0
        protected void Application_Start(object sender, EventArgs args)
        {
            LillTek.Web.WebHelper.PlatformInitialize(Assembly.GetExecutingAssembly());
            NetTrace.Start();

            //router = new LeafRouter();
            //router.Start();
        }
예제 #7
0
        public void Initialize()
        {
            NetTrace.Start();
            NetTrace.Enable(MsgRouter.TraceSubsystem, 2);

            TimedLock.FullDiagnostics = false;
            AsyncTracker.Enable       = false;
            AsyncTracker.Start();
        }
예제 #8
0
        /// <summary>
        /// Starts the service, associating it with an <see cref="IServiceHost" /> instance.
        /// </summary>
        /// <param name="serviceHost">The service user interface.</param>
        /// <param name="args">Command line arguments.</param>
        public void Start(IServiceHost serviceHost, string[] args)
        {
            lock (syncLock)
            {
                if (router != null)
                {
                    return;     // Already started
                }
                // Global initialization

                NetTrace.Start();
                Program.Config       = new Config("LillTek.Datacenter.RouterService");
                Program.PerfCounters = null;    // $todo(jeff.lill): new PerfCounterSet(true,Const.RouterServicePerf,Const.RouterServiceName);

                // Service initialization

                this.serviceHost = serviceHost;

                try
                {
                    RootRouter rootRouter;
                    HubRouter  hubRouter;

                    switch (Program.Config.Get("Mode", "HUB").ToUpper())
                    {
                    case "ROOT":

                        SysLog.LogInformation("Router Service v{0}: Starting as ROOT", Helper.GetVersionString());
                        router = rootRouter = new RootRouter();
                        rootRouter.Start();
                        break;

                    case "HUB":
                    default:

                        SysLog.LogInformation("Router Service v{0}: Starting as HUB", Helper.GetVersionString());
                        router = hubRouter = new HubRouter();
                        hubRouter.Start();
                        break;
                    }

                    state = ServiceState.Running;
                }
                catch (Exception e)
                {
                    if (router != null)
                    {
                        router.Stop();
                        router = null;
                    }

                    SysLog.LogException(e);
                    throw;
                }
            }
        }
예제 #9
0
        public void Initialize()
        {
            ReliableTransferSession.ClearCachedSettings();
            NetTrace.Start();
            NetTrace.Enable(ReliableTransferSession.TraceSubsystem, 0);

            // NetTrace.Enable(MsgRouter.TraceSubsystem,255);

            clientWait = new AutoResetEvent(false);
        }
예제 #10
0
        public void Initialize()
        {
            NetTrace.Start();
            NetTrace.Enable(MsgRouter.TraceSubsystem, 1);

            AsyncTracker.Enable = false;
            AsyncTracker.Start();

            broadcastServer = new UdpBroadcastServer(new UdpBroadcastServerSettings(), null, null);
        }
예제 #11
0
        /// <summary>
        /// Starts the service, associating it with an <see cref="IServiceHost" /> instance.
        /// </summary>
        /// <param name="serviceHost">The service user interface.</param>
        /// <param name="args">Command line arguments.</param>
        public void Start(IServiceHost serviceHost, string[] args)
        {
            lock (syncLock)
            {
                if (router != null)
                {
                    return;     // Already started
                }
                // Global initialization

                NetTrace.Start();

                Program.Config = new Config(MsgQueueHandler.ConfigPrefix);
                Program.InstallPerfCounters();

                // Service initialization

                this.serviceHost = serviceHost;
                SysLog.LogInformation("Message Queue v{0} Start", Helper.GetVersionString());

                try
                {
                    router = new LeafRouter();
                    router.Start();

                    handler = new MsgQueueHandler();
                    handler.Start(router, null, Program.PerfCounters, null);

                    state = ServiceState.Running;
                }
                catch (Exception e)
                {
                    if (handler != null)
                    {
                        handler.Stop();
                        handler = null;
                    }

                    if (router != null)
                    {
                        router.Stop();
                        router = null;
                    }

                    SysLog.LogException(e);
                    throw;
                }
            }
        }
예제 #12
0
        static void Main()
        {
            Helper.InitializeApp(Assembly.GetExecutingAssembly());
            Config.SetConfigPath(Helper.GetEntryAssembly());
            NetTrace.Start();

            NativeSysLogProvider.CreateLogs("MessagingTest");
            SysLog.LogProvider = new NativeSysLogProvider("MessagingTest");

            Msg.LoadTypes(Assembly.GetExecutingAssembly());

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
예제 #13
0
        /// <summary>
        /// Starts the service, associating it with an <see cref="IServiceHost" /> instance.
        /// </summary>
        /// <param name="serviceHost">The service user interface.</param>
        /// <param name="args">Command line arguments.</param>
        public void Start(IServiceHost serviceHost, string[] args)
        {
            lock (syncLock)
            {
                if (router != null)
                {
                    return;     // Already started
                }
                // Global initialization

                NetTrace.Start();
                Program.Config       = new Config(ConfigServiceHandler.ConfigPrefix);
                Program.PerfCounters = null;    // $todo(jeff.lill): new PerfCounterSet(true,Const.ConfigServicePerf,Const.ConfigServiceName);

                // Service initialization

                this.serviceHost = serviceHost;
                SysLog.LogInformation("Config Service v{0} Start", Helper.GetVersionString());

                try
                {
                    router = new LeafRouter();
                    router.Start();

                    handler = new ConfigServiceHandler();
                    handler.Start(router, null, null, null);

                    state = ServiceState.Running;
                }
                catch (Exception e)
                {
                    if (handler != null)
                    {
                        handler.Stop();
                        handler = null;
                    }

                    if (router != null)
                    {
                        router.Stop();
                        router = null;
                    }

                    SysLog.LogException(e);
                    throw;
                }
            }
        }
예제 #14
0
        /// <summary>
        /// Starts the service, associating it with an <see cref="IServiceHost" /> instance.
        /// </summary>
        /// <param name="serviceHost">The service user interface.</param>
        /// <param name="args">Command line arguments.</param>
        public void Start(IServiceHost serviceHost, string[] args)
        {
            lock (syncLock)
            {
                if (router != null)
                {
                    return;     // Already started
                }
                // Global initialization

                NetTrace.Start();
                Program.Config = new Config("LillTek.Datacenter.DynDNSClient");
                Program.InstallPerfCounters();

                // Service initialization

                this.serviceHost = serviceHost;
                SysLog.LogInformation("Dynamic DNS Client v{0} Start", Helper.GetVersionString());

                try
                {
                    router = new LeafRouter();
                    router.Start();

                    client = new DynDnsClient();
                    client.Open(router, new DynDnsClientSettings("LillTek.Datacenter.DynDNSClient"));

                    state = ServiceState.Running;
                }
                catch (Exception e)
                {
                    if (client != null)
                    {
                        client.Close();
                        client = null;
                    }

                    if (router != null)
                    {
                        router.Stop();
                        router = null;
                    }

                    SysLog.LogException(e);
                    throw;
                }
            }
        }
예제 #15
0
        /// <summary>
        /// Starts the service, associating it with an <see cref="IServiceHost" /> instance.
        /// </summary>
        /// <param name="serviceHost">The service user interface.</param>
        /// <param name="args">Command line arguments.</param>
        public void Start(IServiceHost serviceHost, string[] args)
        {
            lock (syncLock) {
                if (router != null)
                {
                    return;     // Already started
                }
                // Global initialization

                NetTrace.Start();
                Program.Config = new Config("LillTek.GeoTracker.Service");
                Program.InstallPerfCounters();

                // Service initialization

                this.serviceHost = serviceHost;
                SysLog.LogInformation("GeoTracker Service v{0} Start", Helper.GetVersionString());

                try {
                    router = new LeafRouter();
                    router.Start();

                    node = new GeoTrackerNode();
                    node.Start(router, GeoTrackerNode.ConfigPrefix, Program.PerfCounters, null);

                    state = ServiceState.Running;
                }
                catch (Exception e) {
                    if (node != null)
                    {
                        node.Stop();
                        node = null;
                    }

                    if (router != null)
                    {
                        router.Stop();
                        router = null;
                    }

                    SysLog.LogException(e);
                    throw;
                }
            }
        }
예제 #16
0
        public void Initialize()
        {
            NetTrace.Start();
            NetTrace.Enable(MsgRouter.TraceSubsystem, 0);

            const string settings =
                @"
&section MsgRouter

    AppName                = Test
    AppDescription         = Test Description
    RouterEP			   = physical://detached/test/leaf
    CloudEP                = $(LillTek.DC.CloudEP)
    CloudAdapter           = ANY
    UdpEP				   = ANY:0
    TcpEP				   = ANY:0
    TcpBacklog			   = 100
    TcpDelay			   = off
    BkInterval			   = 1s
    MaxIdle				   = 5m
    EnableP2P              = yes
    AdvertiseTime		   = 1m
    DefMsgTTL			   = 5
    SharedKey		       = PLAINTEXT
    SessionCacheTime       = 2m
    SessionRetries         = 3
    SessionTimeout         = 10s
    MaxLogicalAdvertiseEPs = 256
    DeadRouterTTL          = 2s

&endsection
";

            Config.SetConfig(settings.Replace('&', '#'));
            MsgEP.ReloadAbstractMap();

            router  = new LeafRouter();
            handler = new ServerManagerHandler();

            handler.Start(router, null, null, null);
            router.Start();
        }
예제 #17
0
        /// <summary>
        /// Starts the service, associating it with an <see cref="IServiceHost" /> instance.
        /// </summary>
        /// <param name="serviceHost">The service user interface.</param>
        /// <param name="args">Command line arguments.</param>
        public void Start(IServiceHost serviceHost, string[] args)
        {
            lock (syncLock)
            {
                if (udpServer != null)
                {
                    return;     // Already started
                }
                // Global initialization

                NetTrace.Start();
                Program.Config = new Config("LillTek.Datacenter.BroadcastServer");
                Program.InstallPerfCounters();

                // Service initialization

                this.serviceHost = serviceHost;
                SysLog.LogInformation("Broadcast Server v{0} Start", Helper.GetVersionString());

                try
                {
                    udpServer = new UdpBroadcastServer("LillTek.Datacenter.BroadcastServer", Program.PerfCounters, null);

                    state = ServiceState.Running;
                }
                catch (Exception e)
                {
                    if (udpServer != null)
                    {
                        udpServer.Close();
                        udpServer = null;
                    }

                    SysLog.LogException(e);
                    throw;
                }
            }
        }
예제 #18
0
        /// <summary>
        /// Called on form load.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="args"></param>
        private void MainForm_Load(object sender, System.EventArgs args)
        {
            DataColumnCollection  dtColumns;
            DataGridTableStyle    dgStyle;
            DataGridTextBoxColumn col;

            // Initialize the data table and set

            dtCapture = new DataTable("capture");
            dtColumns = dtCapture.Columns;
            dtColumns.Add("Time", typeof(DateTime));
            dtColumns.Add("SourceEP", typeof(string));
            dtColumns.Add("Event", typeof(string));
            dtColumns.Add("Summary", typeof(string));
            dtColumns.Add("Details", typeof(string));

            // Bind these to the trace grid

            TraceList.DataSource = dtCapture;

            // Configure the grid columns

            dgStyle              = new DataGridTableStyle();
            dgStyle.MappingName  = dtCapture.TableName;
            dgStyle.ReadOnly     = true;
            dgStyle.AllowSorting = false;

            // Time

            col             = new DataGridTextBoxColumn();
            col.Alignment   = HorizontalAlignment.Center;
            col.HeaderText  = "Time (UTC)";
            col.MappingName = "Time";
            col.NullText    = string.Empty;
            col.ReadOnly    = true;
            col.Width       = 100;
            col.Format      = "HH:mm:ss.fff";
            dgStyle.GridColumnStyles.Add(col);

            // SourceEP

            col             = new DataGridTextBoxColumn();
            col.Alignment   = HorizontalAlignment.Center;
            col.HeaderText  = "SourceEP";
            col.MappingName = "SourceEP";
            col.NullText    = string.Empty;
            col.ReadOnly    = true;
            col.Width       = 75;
            dgStyle.GridColumnStyles.Add(col);

            // Event

            col             = new DataGridTextBoxColumn();
            col.Alignment   = HorizontalAlignment.Left;
            col.HeaderText  = "Event";
            col.MappingName = "Event";
            col.NullText    = string.Empty;
            col.ReadOnly    = true;
            col.Width       = 225;
            dgStyle.GridColumnStyles.Add(col);

            // Summary

            col             = new DataGridTextBoxColumn();
            col.Alignment   = HorizontalAlignment.Left;
            col.HeaderText  = "Summary";
            col.MappingName = "Summary";
            col.NullText    = string.Empty;
            col.ReadOnly    = true;
            col.Width       = 1600;
            dgStyle.GridColumnStyles.Add(col);

            // Details (hidden)

            col             = new DataGridTextBoxColumn();
            col.Alignment   = HorizontalAlignment.Left;
            col.HeaderText  = "Details";
            col.MappingName = "Details";
            col.NullText    = string.Empty;
            col.ReadOnly    = true;
            col.Width       = 0;
            dgStyle.GridColumnStyles.Add(col);

            TraceList.TableStyles.Clear();
            TraceList.TableStyles.Add(dgStyle);

            // Complete the initialization

            isRunning     = true;
            captureFile   = false;
            captureWriter = null;
            SetUIState();

            onTraceUI = new NetTraceSinkDelegate(OnTraceUI);
            NetTraceSink.Start(new NetTraceSinkDelegate(OnTrace));

#if SIMPACKETS
            NetTrace.Start();
            timer = new GatedTimer(new TimerCallback(OnTimer), null, TimeSpan.FromTicks(0), TimeSpan.FromSeconds(5.0));
#endif
        }
예제 #19
0
        public void Initialize()
        {
            // Helper.SetLocalGuidMode(GuidMode.CountUp);

            NetTrace.Start();
            // NetTrace.Enable(MsgRouter.TraceSubsystem,255);
            NetTrace.Enable(ClusterMember.TraceSubsystem, 255);

            const string settings =
                @"
&section MsgRouter

    AppName                = Test
    AppDescription         = Test Description
    RouterEP			   = physical://detached/test/leaf
    CloudEP                = $(LillTek.DC.CloudEP)
    CloudAdapter           = ANY
    UdpEP				   = ANY:0
    TcpEP				   = ANY:0
    TcpBacklog			   = 100
    TcpDelay			   = off
    BkInterval			   = 1s
    MaxIdle				   = 5m
    EnableP2P              = yes
    AdvertiseTime		   = 1m
    DefMsgTTL			   = 5
    SharedKey		       = PLAINTEXT
    SessionCacheTime       = 2m
    SessionRetries         = 3
    SessionTimeout         = 10s
    MaxLogicalAdvertiseEPs = 256
    DeadRouterTTL          = 2s

    AbstractMap[abstract://LillTek/DataCenter/DynDNS] = logical://LillTek/DataCenter/DynDNS

&endsection

&section LillTek.Datacenter.DynDNS

    NetworkBinding   = ANY:DNS
    UdpBinding       = ANY:DYNAMIC-DNS
    Mode             = BOTH
    SharedKey        = aes:BcskocQ2W4aIGEemkPsy5dhAxuWllweKLVToK1NoYzg=:5UUVxRPml8L4WH82unR74A==
    BkInterval       = 1s
    RegistrationTTL  = 185s
    MessageTTL       = 15m
    ResponseTTL      = 5s
    LogFailures      = yes

    // NameServer[0] =

    // Host[0]       =
    
    &section Cluster
    
        ClusterBaseEP           = abstract://LillTek/DataCenter/DynDNS
        Mode                    = Normal
        MasterBroadcastInterval = 1s
        SlaveUpdateInterval     = 1s
        ElectionInterval        = 3s
        MissingMasterCount      = 3
        MissingSlaveCount       = 3
        MasterBkInterval        = 1s
        SlaveBkInterval         = 1s
        BkInterval              = 1s

    &endsection

&endsection

&section LillTek.Datacenter.DynDNS.AddressCache

    NetworkBinding   = ANY:DNS
    UdpBinding       = ANY:DYNAMIC-DNS
    Mode             = BOTH
    SharedKey        = aes:BcskocQ2W4aIGEemkPsy5dhAxuWllweKLVToK1NoYzg=:5UUVxRPml8L4WH82unR74A==
    BkInterval       = 1s
    RegistrationTTL  = 185s
    MessageTTL       = 15m
    ResponseTTL      = 5s
    LogFailures      = yes

    // NameServer[0] = 

    Host[-]          = test1.lilltek.com, www.lilltek.com, 1800
    Host[-]          = test2.lilltek.com, www.google.com, 1800

    AddressCache[-]  = www.google.com
    AddressCache[-]  = www.lilltek.com,1800
    
    &section Cluster
    
        ClusterBaseEP           = abstract://LillTek/DataCenter/DynDNS
        Mode                    = Normal
        MasterBroadcastInterval = 1s
        SlaveUpdateInterval     = 1s
        ElectionInterval        = 3s
        MissingMasterCount      = 3
        MissingSlaveCount       = 3
        MasterBkInterval        = 1s
        SlaveBkInterval         = 1s
        BkInterval              = 1s

    &endsection

&endsection

&section DynDnsClient

    Enabled               = yes
    NetworkBinding        = ANY
    Mode                  = CLUSTER
    SharedKey             = aes:BcskocQ2W4aIGEemkPsy5dhAxuWllweKLVToK1NoYzg=:5UUVxRPml8L4WH82unR74A==
    BkInterval            = 1s
    DomainRefreshInterval = 15m
    UdpRegisterInterval   = 1m

    // Domain             =
    // NameServer[0]      =
    // Host[0]            =

    &section Cluster
    
        ClusterBaseEP           = abstract://LillTek/DataCenter/DynDNS
        Mode                    = Normal
        MasterBroadcastInterval = 1s
        SlaveUpdateInterval     = 1s
        ElectionInterval        = 3s
        MissingMasterCount      = 3
        MissingSlaveCount       = 3
        MasterBkInterval        = 1s
        SlaveBkInterval         = 1s
        BkInterval              = 1s

    &endsection

&endsection

&section DynDnsClient.Disabled

    Enabled               = no
    NetworkBinding        = ANY
    Mode                  = CLUSTER
    SharedKey             = aes:BcskocQ2W4aIGEemkPsy5dhAxuWllweKLVToK1NoYzg=:5UUVxRPml8L4WH82unR74A==
    BkInterval            = 1s
    DomainRefreshInterval = 15m
    UdpRegisterInterval   = 1m

    // Domain             =
    // NameServer[0]      =
    // Host[0]            =

    &section Cluster
    
        ClusterBaseEP           = abstract://LillTek/DataCenter/DynDNS
        Mode                    = Normal
        MasterBroadcastInterval = 1s
        SlaveUpdateInterval     = 1s
        ElectionInterval        = 3s
        MissingMasterCount      = 3
        MissingSlaveCount       = 3
        MasterBkInterval        = 1s
        SlaveBkInterval         = 1s
        BkInterval              = 1s

    &endsection

&endsection

&section DynDnsClient.Test

    Enabled               = yes
    NetworkBinding        = ANY
    Mode                  = CLUSTER
    SharedKey             = aes:BcskocQ2W4aIGEemkPsy5dhAxuWllweKLVToK1NoYzg=:5UUVxRPml8L4WH82unR74A==
    BkInterval            = 1s
    DomainRefreshInterval = 15m
    UdpRegisterInterval   = 1m

    // Domain             =
    // NameServer[0]      =

    Host[0]               = test0.com,10.0.0.1
    Host[1]               = test1.com,10.0.0.2

    &section Cluster
    
        ClusterBaseEP           = abstract://LillTek/DataCenter/DynDNS
        Mode                    = Normal
        MasterBroadcastInterval = 1s
        SlaveUpdateInterval     = 1s
        ElectionInterval        = 3s
        MissingMasterCount      = 3
        MissingSlaveCount       = 3
        MasterBkInterval        = 1s
        SlaveBkInterval         = 1s
        BkInterval              = 1s

    &endsection

&endsection
";

            Config.SetConfig(settings.Replace('&', '#'));

            router = new LeafRouter();
            router.Start();
        }
예제 #20
0
 public void Initialize()
 {
     NetTrace.Start();
     //NetTrace.Enable(MsgQueueEngine.TraceSubsystem,0);
     NetTrace.Enable(MsgRouter.TraceSubsystem, 255);
 }
예제 #21
0
        /// <summary>
        /// Starts the service, associating it with an <see cref="IServiceHost" /> instance.
        /// </summary>
        /// <param name="serviceHost">The service user interface.</param>
        /// <param name="args">Command line arguments.</param>
        public void Start(IServiceHost serviceHost, string[] args)
        {
            lock (syncLock)
            {
                if (router != null)
                {
                    return;     // Already started
                }
                // Global initialization

                startTime = DateTime.UtcNow;

                NetTrace.Start();
                CoreApp.InstallPerfCounters();

                // Service initialization

                this.serviceHost = serviceHost;

                try
                {
                    SysLog.LogInformation("NeonSwitch v{0} Start", Helper.GetVersionString());

                    router = new LeafRouter();
                    router.Start();

                    state = ServiceState.Running;

                    bkTimer = new GatedTimer(OnBkTimer, null, CoreApp.BkTaskInterval);
                    SpeechEngine.Start(SpeechEngineSettings.LoadConfig("NeonSwitch.Speech"));
#if DEBUG
                    // $todo(jeff.lill): Delete this.

                    SwitchTest.Test();
#endif
                    // Indicate that the switch core service is open for business.  NeonSwitch
                    // application instance loaders will spin, waiting for this to be set before
                    // calling the application's main function.

                    Switch.SetGlobal(SwitchGlobal.NeonSwitchReady, "true");
                }
                catch (Exception e)
                {
                    SpeechEngine.Stop();

                    if (bkTimer != null)
                    {
                        bkTimer.Dispose();
                        bkTimer = null;
                    }

                    if (router != null)
                    {
                        router.Stop();
                        router = null;
                    }

                    SysLog.LogException(e);
                    throw;
                }
            }
        }
예제 #22
0
 public void Initialize()
 {
     NetTrace.Start();
     NetTrace.Enable(MsgRouter.TraceSubsystem, 0);
 }
예제 #23
0
 public void Initialize()
 {
     NetTrace.Start();
     // NetTrace.Enable(MsgRouter.TraceSubsystem,0);
     NetTrace.Enable(ClusterMember.TraceSubsystem, 255);
 }