Defines the name of this binding used for identification and display purposes.
Defines the protocol version number of this binding, a positive integer.
Increment this version whenever you change or add new communication events or make breaking changes to the binding's messaging protocol.
Note that each specific binding type provides its own API versioning. API versions are not synchronized or shared across different binding types.
Gets the current lifecycle state of this communication binding.
Create an IO route for routing IO values of the given IO source to associated IO actors.
object ID of an IoSource
an associating topic for routing
Called by CommunicationManager once when this binding should join the Coaty communication infrastructure with the given options.
options used for joining
Emitted whenever this binding signals an error, informational or debug message.
Emitted whenever the binding's communication state changes.
Emitted whenever an inbound communication event has arrived.
For Raw events, the eventTypeFilter
property contains the published
topic name and the correlationId
property contains the correlated
subscription topic.
For IoValue events, the eventTypeFilter
property contains the IO route.
Called by CommunicationManger to publish the given event.
Publications issued before the binding has joined are deferred. Publications issued after the binding has unjoined are silently discarded.
represents the event to be published
Called by CommunicationManger to subscribe the given event.
Subscriptions issued before the binding has joined are deferred. Subscriptions issued after the binding has unjoined are silently discarded.
represents the event to be subscribed
Called by CommunicationManager once when this binding should leave the Coaty communication infrastructure and be disposed.
The promise returned should always be resolved when the binding has
completed unjoining so that its safe to invoke another join()
operation
on a new instance of this binding type.
When unjoining, the binding instance should release all internally used resources so that it may be garbage collected. No further API method calls will be invoked on this binding.
a Promise that is always resolved when the binding has completed unjoining.
Called by CommunicationManger to unsubscribe the given event.
Unsubscriptions issued before the binding has joined are ignored. Unsubscriptions issued after the binding has unjoined are silently discarded.
represents the event to be unsubscribed
Generated using TypeDoc
Defines a generic public API for transmitting Coaty communication events via specific broker-based or brokerless publish-subscribe messaging protocols.