@Override protected CommandResult innerExecute(ArgoClientContext context) { ArrayList<ClientTransport> gens = context.getClientTransports(); for (ClientTransport t : gens) { Console.info(t.getDescription()); } return CommandResult.OK; }
@Override protected CommandResult innerExecute(ArgoClientContext context) { ClientTransport transport = context.getClientTransportNamed(_transportName); if (transport != null) { Console.info(transport.showConfiguration()); } else { Console.error("No transport named [" + _transportName + "]"); } return CommandResult.OK; }
@Override protected CommandResult innerExecute(ArgoClientContext context) { ClientTransport transport = context.getClientTransportNamed(_transportName); if (transport != null) { transport.setEnabled(false); } else { Console.error("No transport named [" + _transportName + "]"); } return CommandResult.OK; }
@Override protected CommandResult innerExecute(ArgoClientContext context) { Console.info("\n------------------ Client URL Information --------------------"); Console.info(" Client Listener URL ...... " + context.getListenerURL()); Console.info(" (use 'config -url' to change. Setting this will restart the listener)"); Console.info(" Client RespondTo URL ..... " + context.getRespondToURL()); Console.info(" (use 'config -rurl' to change. All subsequest probes will use that URL)"); Console.info(" Default CID ... " + context.getDefaultCID()); Console.info(" (use 'config -defaultCID' to change)"); Console.info("\n------------------ Configured Transports --------------------"); List<ClientTransport> transports = context.getClientTransports(); for (ClientTransport t : transports) { Console.info(t.showConfiguration()); } return CommandResult.OK; }