/**
* Creates a new “ModifyConfig” message.
+ *
+ * @deprecated Use {@link #ModifyConfig(String)} instead
*/
+ @Deprecated
public ModifyConfig() {
super("ModifyConfig");
}
+ /**
+ * Creates a new “ModifyConfig” message.
+ *
+ * @param identifier The identifier of the message
+ */
public ModifyConfig(String identifier) {
this();
setField("Identifier", identifier);
new ExtendedFcpAdapter() {
@Override
public void run() throws IOException {
- ModifyConfig modifyConfig = new ModifyConfig();
+ ModifyConfig modifyConfig = new ModifyConfig(createIdentifier("modify-config"));
options.forEach(modifyConfig::setOption);
sendMessage(modifyConfig);
}