protected override void OnCustomCommand(int command) { switch (command) { case (int)CustomCommand.DumpTable: RoutingTable.DumpTables(TransportType.Tcp); break; default: break; } }
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; } }