Pair<Integer, String> id = getId(UiOption.Modify);
String user = dp.getProperty(UiOption.User.pname());
byte[] auth_block = (byte[]) dp.get(UiOption.Signature.pname());
ServiceModifyEvent ev = new ServiceModifyEvent(user, id.first(), id.second(), auth_block);
int instances = getInstances(-1);
Trinary autostart = getAutostart();
boolean activate = getActivate();
ev.setInstances(instances);
ev.setAutostart(autostart);
ev.setActivate(activate);
try {
return (IServiceReply) dispatcher.dispatchAndWaitForDuccReply(ev);
} finally {
dispatcher.close();