Class StreamingActor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  StreamingActor.Control
      Control messages to send in the same actor system.
      • Nested classes/interfaces inherited from class akka.actor.AbstractActor

        akka.actor.AbstractActor.ActorContext, akka.actor.AbstractActor.Receive
      • Nested classes/interfaces inherited from interface akka.actor.Actor

        akka.actor.Actor.emptyBehavior$, akka.actor.Actor.ignoringBehavior$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ACTOR_NAME
      The name of this Actor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      akka.actor.AbstractActor.Receive createReceive()  
      com.typesafe.config.Config getConfig()  
      static akka.actor.Props props​(DittoProtocolSub dittoProtocolSub, akka.actor.ActorRef commandRouter, JwtAuthenticationFactory jwtAuthenticationFactory, org.eclipse.ditto.services.gateway.util.config.streaming.StreamingConfig streamingConfig, org.eclipse.ditto.protocoladapter.HeaderTranslator headerTranslator, akka.actor.ActorRef pubSubMediator, akka.actor.ActorRef conciergeForwarder)
      Creates Akka configuration object Props for this StreamingActor.
      com.typesafe.config.Config setConfig​(com.typesafe.config.Config config)  
      akka.actor.SupervisorStrategy supervisorStrategy()  
      • Methods inherited from class akka.actor.AbstractActorWithTimers

        akka$actor$Timers$_setter_$akka$actor$Timers$$_timers_$eq, akka$actor$Timers$$_timers, aroundPostStop, aroundPreRestart, aroundReceive, getTimers, timers
      • Methods inherited from class akka.actor.AbstractActor

        akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPreStart, context, emptyBehavior, getContext, getSelf, getSender, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, unhandled
      • Methods inherited from interface akka.actor.Actor

        akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPreStart, context, postRestart, postStop, preRestart, preStart, receive, self, sender, unhandled
    • Method Detail

      • props

        public static akka.actor.Props props​(DittoProtocolSub dittoProtocolSub,
                                             akka.actor.ActorRef commandRouter,
                                             JwtAuthenticationFactory jwtAuthenticationFactory,
                                             org.eclipse.ditto.services.gateway.util.config.streaming.StreamingConfig streamingConfig,
                                             org.eclipse.ditto.protocoladapter.HeaderTranslator headerTranslator,
                                             akka.actor.ActorRef pubSubMediator,
                                             akka.actor.ActorRef conciergeForwarder)
        Creates Akka configuration object Props for this StreamingActor.
        Parameters:
        dittoProtocolSub - the Ditto protocol sub access.
        commandRouter - the command router used to send signals into the cluster.
        streamingConfig - the streaming config.
        headerTranslator - translates headers from external sources or to external sources.
        Returns:
        the Akka configuration Props object.
      • supervisorStrategy

        public akka.actor.SupervisorStrategy supervisorStrategy()
        Specified by:
        supervisorStrategy in interface akka.actor.Actor
        Overrides:
        supervisorStrategy in class akka.actor.AbstractActor
      • createReceive

        public akka.actor.AbstractActor.Receive createReceive()
        Specified by:
        createReceive in class akka.actor.AbstractActor
      • setConfig

        public com.typesafe.config.Config setConfig​(com.typesafe.config.Config config)
        Specified by:
        setConfig in interface ModifyConfigBehavior