gCmd.addParam(address);
result = gCmd;
}
else if(cmdName.equals(MessagingSlice.H_NEWMTP)) {
MTPDescriptor mtp = (MTPDescriptor)params[0];
ContainerID cid = (ContainerID)params[1];
GenericCommand gCmd = new GenericCommand(MessagingSlice.NEW_MTP, MessagingSlice.NAME, null);
gCmd.addParam(mtp);
gCmd.addParam(cid);
result = gCmd;
}
else if(cmdName.equals(MessagingSlice.H_DEADMTP)) {
MTPDescriptor mtp = (MTPDescriptor)params[0];
ContainerID cid = (ContainerID)params[1];
GenericCommand gCmd = new GenericCommand(MessagingSlice.DEAD_MTP, MessagingSlice.NAME, null);
gCmd.addParam(mtp);
gCmd.addParam(cid);
result = gCmd;
}
else if(cmdName.equals(MessagingSlice.H_ADDROUTE)) {
MTPDescriptor mtp = (MTPDescriptor)params[0];
String sliceName = (String)params[1];
addRoute(mtp, sliceName);
}
else if(cmdName.equals(MessagingSlice.H_REMOVEROUTE)) {
MTPDescriptor mtp = (MTPDescriptor)params[0];
String sliceName = (String)params[1];
removeRoute(mtp, sliceName);
}
else if (cmdName.equals(MessagingSlice.H_NEWALIAS)) {