abstract class MqttGateway extends Application
Forwards messages from our durable queue to MQTT and vice versa. The meta data describing source and target information is published as events. This meta data can describe a topic being updated or removed.
- Alphabetic
- By Inheritance
- MqttGateway
- Application
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MqttGateway()
Abstract Value Members
- abstract def acquireDurableQueue()(implicit system: ActorSystem): DurableQueue
- Definition Classes
- Application
- abstract def acquireRawStorage()(implicit system: ActorSystem): RawStorage
- Definition Classes
- Application
- abstract def acquireSecretStore()(implicit system: ActorSystem): SecretStore
- Definition Classes
- Application
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def main(args: Array[String], context: ApplicationContext): Unit
The main entry point.
The main entry point. All application's must implement this.
- args
Command line arguments passed in from the outside
- context
An application context of Streambed services
- Definition Classes
- MqttGateway → Application
- Annotations
- @SuppressWarnings()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trap(signal: Int): Boolean
A receiver of Unix signals received by the application.
A receiver of Unix signals received by the application.
This method can be entirely overridden without having to call any super method.
By default, SIGTERM and SIGINT are handled. Furthermore, if this method returns false for SIGTERM or SIGINT then their default handling will occur.
The default behavior of SIGTERM and SIGINT is to invoke System.exit with an appropriate code. This will initiate Akka's CoordinatedShutdown mechanism and shutdown other services including the tracer and metrics. Please refer to the ApplicationContext to understand the scope of services that will be shutdown.
You should should generally use Akka's shutdown mechanisms to orchestrate any required shutdown behavior i.e. CoordinatedShutdown.
Note that this thread will NOT be called on the same thread as the main method and that you should take care to synchronize its activities.
- returns
A boolean indicating if the signal was handled. If it was not handled, default signal handling will take effect.
- Definition Classes
- Application
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()