-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the supported methods of Calculator (#6)
1. Updated the supported methods of Calculator 2.1 Updated the `.js` to test it; The `.js` establishes `WS` connection to calculator service; so, it does not have to say `calculator.add` 2.2 Thunder on the otherhand when request was sent as `calculator.add`, it identifies `RustAdapter.so` as plugin library and send the method to be invoked as `add` to it. 3. Updated the calculator.json with other options available for out-of-process execution
- Loading branch information
1 parent
173dae0
commit 7af4d46
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
{ | ||
"locator":"libWPEFrameworkRustAdapter.so", | ||
"classname":"RustAdapter", | ||
"callsign":"calculator", | ||
"autostart":false | ||
"locator":"libWPEFrameworkRustAdapter.so", | ||
"classname":"RustAdapter", | ||
"callsign":"calculator", | ||
"autostart":false, | ||
"configuration": { | ||
"outofprocess": false, | ||
"address": "127.0.0.1", | ||
"port": 55556, | ||
"autoexec": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters