*
* @param pumpEndpointService
*/
private void openPump(EndPointService pumpEndpointService) {
System.out.println("open pump");
OnOffServerService onOffPump = null;
onOffPump = (OnOffServerService) pumpEndpointService
.getServerSideCluster(OnOff.CLUSTER_NAME);
try {
onOffPump.on();
} catch (ClusterCommandeException e) {
printMessage(LogService.LOG_ERROR, "unable to open the pump");
}
}