Class SubscriptionManager

  • All Implemented Interfaces:
    akka.actor.Actor

    public final class SubscriptionManager
    extends akka.actor.AbstractActor
    Actor that manages search subscriptions for 1 websocket connection or 1 ConnectionPersistenceActor.
    Since:
    1.1.0
    • Nested Class Summary

      • 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
      Name of this actor.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      akka.actor.AbstractActor.Receive createReceive()  
      static akka.actor.Props props​(Duration idleTimeout, akka.actor.ActorRef pubSubMediator, akka.actor.ActorSelection proxyActor, akka.stream.Materializer materializer)
      Create Props for a subscription manager.
      • Methods inherited from class akka.actor.AbstractActor

        akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, supervisorStrategy, unhandled
    • Method Detail

      • props

        public static akka.actor.Props props​(Duration idleTimeout,
                                             akka.actor.ActorRef pubSubMediator,
                                             akka.actor.ActorSelection proxyActor,
                                             akka.stream.Materializer materializer)
        Create Props for a subscription manager.
        Parameters:
        idleTimeout - lifetime of an idle SubscriptionActor.
        pubSubMediator - pub-sub mediator for reporting of out-of-sync things.
        proxyActor - recipient of thing and StreamThings commands.
        materializer - materializer for the search streams.
        Returns:
        Props of the actor.
      • createReceive

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