command.addParam(name);
break;
}
case PlatformManagerStub.ADD_NODE: {
NodeDescriptor desc = (NodeDescriptor)command.getParamAt(0);
Vector services = (Vector)command.getParamAt(1);
boolean propagated = ((Boolean)command.getParamAt(2)).booleanValue();
// Execute command...
String name = impl.addNode(desc, services, propagated);
command.reset(Command.OK);
command.addParam(name);
break;
}
case PlatformManagerStub.REMOVE_NODE: {
NodeDescriptor desc = (NodeDescriptor)command.getParamAt(0);
boolean propagated = ((Boolean)command.getParamAt(1)).booleanValue();
// Execute command...
impl.removeNode(desc, propagated);
command.reset(Command.OK);
break;
}
case PlatformManagerStub.ADD_SLICE: {
ServiceDescriptor svc = (ServiceDescriptor)command.getParamAt(0);
NodeDescriptor desc = (NodeDescriptor)command.getParamAt(1);
boolean propagated = ((Boolean)command.getParamAt(2)).booleanValue();
// Execute command...
impl.addSlice(svc, desc, propagated);