Click or drag to resize

InterApplicationBus Class

A messaging bus that allows for pub / sub messaging between different applications. Available via getInterApplicationBus() method on DesktopConnection
Inheritance Hierarchy
SystemObject
  Openfin.DesktopInterApplicationBus

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 16.6.0
Syntax
C#
public class InterApplicationBus

The InterApplicationBus type exposes the following members.

Constructors
  NameDescription
Public methodInterApplicationBus Obsolete.
InterApplicationBus Constructor
Top
Properties
  NameDescription
Public propertyChannel
Instance of a MessageChannelFactory to create ChannelProvider and ChannelClient instances.
Top
Methods
  NameDescription
Public methodaddSubscribeListener
Registers a listener which is called whenever a subscription occurs.
Public methodaddUnsubscribeListener
Registers a listener which is called whenever an unsubscription occurs.
Public methoddispatchMessageToCallbacks
Dispatches a messages to listeners
Public methoddispatchToSubscribeListeners
Dispatches to subscription listeners
Public methoddispatchToUnsubscribeListeners
Dispatches to unsubscription listeners
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMonitorSubscriptions(IOpenfinEntity)
Gets a subscription monitor for a specified Openfin entity.
Public methodStatic memberMonitorSubscriptions(IOpenfinEntity, String)
Gets a subscription monitor for a specified Openfin entity and topic.
Public methodpublish(String, JArray) Obsolete.
Publishes a message to a topic
Public methodpublish(String, JObject)
Publishes a message to a topic
Public methodPublish(String, Object)
Publishes a message to a topic
Public methodStatic memberPublish(Runtime, String, Object)
Publishes a message to an entire runtime on a specified topic.
Public methodremoveSubscribeListener
Removes the passed listener. It is no longer called for subscription events.
Public methodremoveUnsubscribeListener
Removes the passed listener. It is no longer called for unsubscription events.
Public methodSend(String, String, Object)
Sends a message to the specified application on a given topic.
Public methodStatic memberSend(IOpenfinEntity, String, Object)
Sends a message to an InterApplicationBus Openfin entity on a specified topic.
Public methodSend(String, String, String, Object)
Sends a message to the specified application and window name on a given topic.
Public methodsubscribe(String, InterAppMessageHandler)
Subscribes to messages on the specified topic from all applications
Public methodsubscribe(String, String, InterAppMessageHandler)
Subscribes to messages on the specified topic from the specified application
Public methodsubscribe(String, String, String, InterAppMessageHandler)
Subscribes to messages on the specified topic from the specified application and window.
Public methodStatic memberSubscriptionTMessage
Gets a subscription to an InterApplicationBus Openfin entity on a specified topic.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodunsubscribe(String, InterAppMessageHandler)
Unsubscribes to messages on the specified topic from all applications.
Public methodunsubscribe(String, String, InterAppMessageHandler)
Unsubscribes to messages on the specified topic from the specified application.
Public methodunsubscribe(String, String, String, InterAppMessageHandler)
Unsubscribes to messages on the specified topic from the specified application and window.
Top
See Also