Starts or stops Relay Server outbound enablers.
void startOutboundEnablers (List<OutboundEnablerVO> outBoundEnabler) throws SUPAdminException; void stopOutboundEnablers (List<OutboundEnablerVO> outBoundEnabler) throws SUPAdminException;
@Test
public void testStartAndStopOutboundEnabler() throws Exception {
AgentContext agentContext = new AgentContext("mySCC.sybase.com", 9999,
"supAdmin", "s3pAdmin");
ServerContext context = new ServerContext("mySUP.sybase.com", 2000,
"supAdmin", "s3pAdmin", false, agentContext);
SUPServerConfiguration serverConfig = SUPObjectFactory
.getSUPServerConfiguration(context);
// Get all Outbound Enablers of this Mobile Server node.
List<OutboundEnablerVO> outBoundEnablers = serverConfig
.getOutboundEnablers();
// Start all the Outbound Enablers
serverConfig.startOutboundEnablers(outBoundEnablers);
// Stop all the Outbound Enablers
serverConfig.stopOutboundEnablers(outBoundEnablers);
}