SETUPMSG.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_SERVERAUTODETECT_PROMPT), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_SERVERAUTODETECT_HELP)));
instr.add(new MulticastDetectorEnabledSetupInstruction());
instr.add(new PromptIfEnabledSetupInstruction(
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORMCADDR_PREF,
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORMCADDR_DEFAULT,
new InetAddressSetupValidityChecker(), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORMCADDR_PROMPT), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORMCADDR_HELP),
ServiceContainerConfigurationConstants.MULTICASTDETECTOR_ENABLED,
ServiceContainerConfigurationConstants.DEFAULT_MULTICASTDETECTOR_ENABLED));
instr.add(new PromptIfEnabledSetupInstruction(
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORBINDADDR_PREF,
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORBINDADDR_DEFAULT,
new InetAddressSetupValidityChecker(), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORBINDADDR_PROMPT), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORBINDADDR_HELP),
ServiceContainerConfigurationConstants.MULTICASTDETECTOR_ENABLED,
ServiceContainerConfigurationConstants.DEFAULT_MULTICASTDETECTOR_ENABLED));
instr.add(new PromptIfEnabledSetupInstruction(
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORPORT_PREF,
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORPORT_DEFAULT, new IntegerSetupValidityChecker(1,
65535), SETUPMSG.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORPORT_PROMPT),
SETUPMSG.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORPORT_HELP),
ServiceContainerConfigurationConstants.MULTICASTDETECTOR_ENABLED,
ServiceContainerConfigurationConstants.DEFAULT_MULTICASTDETECTOR_ENABLED));
instr.add(new PromptIfEnabledSetupInstruction(
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORDEFAULTTIMEDELAY_PREF,
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORDEFAULTTIMEDELAY_DEFAULT,
new LongSetupValidityChecker(1000L, null), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORDEFAULTTIMEDELAY_PROMPT), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORDEFAULTTIMEDELAY_HELP),
ServiceContainerConfigurationConstants.MULTICASTDETECTOR_ENABLED,
ServiceContainerConfigurationConstants.DEFAULT_MULTICASTDETECTOR_ENABLED));
instr.add(new PromptIfEnabledSetupInstruction(
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORHEARTBEATTIMEDELAY_PREF,
AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORHEARTBEATTIMEDELAY_DEFAULT,
new LongSetupValidityChecker(1000L, null), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORHEARTBEATTIMEDELAY_PROMPT), SETUPMSG
.getMsg(AgentSetupInstructions.SETUP_INSTRUCTION_MULTICASTDETECTORHEARTBEATTIMEDELAY_HELP),