com.ziqni.transformers.ZiqniTransformerEventBus.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ziqni-transformers Show documentation
Show all versions of ziqni-transformers Show documentation
Ziqni transformers project.
The newest version!
package com.ziqni.transformers
/**
* The transformer event-bus is a light-weight distributed messaging system which allows different parts of your transformers
* to communicate with each in a loosely coupled way.
* An event-bus supports publish-subscribe messaging, point-to-point messaging and request-response messaging.
* Message delivery is best-effort and messages can be lost if failure of all or part of the event bus occurs.
*/
trait ZiqniTransformerEventBus {
def getTransformerInfo: ZiqniTransformerInfo
def getAddress: EventbusAddress
def getGroup: String
def sendToAddress(toAddress: EventbusAddress, message: EventbusMessage, args: Option[EventbusArgs]): Unit
def sendToGroup(group: EventbusGroup, message: EventbusMessage, args: Option[EventbusArgs]): Unit
def sendToAll(message: EventbusMessage, args: Option[EventbusArgs]): Unit
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy