philadelphia-core: Add 'FIXConnection#setSenderCompID()'
@@ -202,6 +202,15 @@ public class FIXConnection implements Closeable {
return senderCompId;
}
+ /**
+ * Set the SenderCompID(49).
+ *
+ * @param senderCompId the SenderCompID(49)
+ */
+ public void setSenderCompID(String senderCompId) {
+ this.senderCompId = senderCompId;
+ }
+
/**
* Get the TargetCompID(56).
*
@@ -654,7 +663,7 @@ public class FIXConnection implements Closeable {
return;
}
- senderCompId = value.toString();
+ setSenderCompID(value.toString());
}
if (targetCompId.isEmpty()) {
