Skip to content

Commit ab22a52

Browse files
committed
ADAP-114: adapter 6.0.1.3
1 parent 7c10fe4 commit ab22a52

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

RELEASENOTES-ADAPTER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Version 6.0.1.3
22

33
## New Features
4-
54
* Port discovery support on Mac and Linux with openfin-cli.
5+
* Add support for legacy connecting to Runtime by hard-coded port number
66

77
# Version 6.0.1.2
88

src/main/java/com/openfin/desktop/demo/OpenFinDesktopDemo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,10 @@ public void onOutgoingMessage(String message) {
527527

528528
try {
529529
if (this.desktopPort > 0) {
530+
this.runtimeConfiguration.setRuntimePort(9696);
530531
updateMessagePanel("Connecting to Runtime already running at port " + this.desktopPort);
531-
desktopConnection.connect(listener);
532+
this.runtimeConfiguration.setMaxMessageSize(1024*1024);
533+
desktopConnection.connect(this.runtimeConfiguration, listener, 10);
532534
} else {
533535
updateMessagePanel("Connecting to version " + this.runtimeConfiguration.getRuntimeVersion());
534536
desktopConnection.connect(this.runtimeConfiguration, listener, 10);

0 commit comments

Comments
 (0)