public interface MessagingProvider
This interface identifies a messaging provider. Each SMA provider plug-in implements this interface.
Modifier and Type | Method and Description |
---|---|
MessageBusBinding |
createMessageBusBinding(String userName,
MessageBusDescriptor descriptor,
IEventHandler eventHandler)
Bind to a message bus.
|
String |
getName()
Get the provider name
|
String getName()
MessageBusBinding createMessageBusBinding(String userName, MessageBusDescriptor descriptor, IEventHandler eventHandler) throws SmaException
userName
- The name of the user establishing this binding.descriptor
- The bus descriptor used to establish the binding.eventHandler
- The event handler to be used by the created binding
to dispatch its events.SmaException
- Thrown in case an error occurs during the creation
of the binding.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.