forked from symphonyoss/ContainerJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kiril Popov
committed
May 31, 2017
1 parent
5e6e4cd
commit ca5ae28
Showing
5 changed files
with
42 additions
and
35 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,11 +1,10 @@ | ||
/** | ||
* Currently this is based on OpenFin InterApplicationBus | ||
* http://cdn.openfin.co/jsdocs/stable/fin.desktop.InterApplicationBus.html | ||
* Currently this is based on OpenFin InterApplicationBus - http://cdn.openfin.co/jsdocs/stable/fin.desktop.InterApplicationBus.html | ||
* | ||
* TBD - Request/response and streaming | ||
*/ | ||
export interface MessagesAPI{ | ||
send(destinationUuid: string, topic: string, message: string|object): void; | ||
publish(topic: string, message: string|object); | ||
|
||
subscribe(destinationUuid: string, topic: string, listener: Function): void; | ||
unsubscribe(windowId: string, topic: string, listener: Function): void; | ||
send(windowId: string, topic :string, message: string|object): void; | ||
subscribe(windowId: string, topic :string, listener: Function): void; | ||
unsubscribe(windowId: string, topic :string, listener: Function): void; | ||
} |
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
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