protected override void OnCustomCommand(int command)
        {
            switch (command)
            {
            case (int)CustomCommand.DumpTable:
                RoutingTable.DumpTables(TransportType.Tcp);
                break;

            default:
                break;
            }
        }
Ejemplo n.º 2
0
        public void OnCustomCommand(int command)
        {
            switch (command)
            {
            case (int)CustomCommand.DumpTable:
                RoutingTable.DumpTables(transportType);
                break;

            case (int)CustomCommand.CheckHealth:
                Fx.Assert(IsHealthy(), "Not healthy, killing ourselves!");
                break;

            default:
                break;
            }
        }