Class AggClientServer

java.lang.Object
org.apache.pekko.actor.AbstractActor
org.apache.pekko.actor.UntypedAbstractActor
com.arpnetworking.clusteraggregator.client.AggClientServer
All Implemented Interfaces:
org.apache.pekko.actor.Actor

public final class AggClientServer extends org.apache.pekko.actor.UntypedAbstractActor
TCP Server that listens for aggregation client connections.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot com)
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.pekko.actor.AbstractActor

    org.apache.pekko.actor.AbstractActor.ActorContext, org.apache.pekko.actor.AbstractActor.Receive

    Nested classes/interfaces inherited from interface org.apache.pekko.actor.Actor

    org.apache.pekko.actor.Actor.emptyBehavior$, org.apache.pekko.actor.Actor.ignoringBehavior$
  • Constructor Summary

    Constructors
    Constructor
    Description
    AggClientServer(com.google.inject.Provider<org.apache.pekko.actor.Props> supervisorProvider, ClusterAggregatorConfiguration clusterConfiguration)
    Public constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onReceive(Object message)
     
    void
     

    Methods inherited from class org.apache.pekko.actor.UntypedAbstractActor

    createReceive, receive, unhandled

    Methods inherited from class org.apache.pekko.actor.AbstractActor

    aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, org$apache$pekko$actor$Actor$_setter_$context_$eq, org$apache$pekko$actor$Actor$_setter_$self_$eq, postRestart, postStop, preRestart, preRestart, receiveBuilder, self, sender, supervisorStrategy

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AggClientServer

      @Inject public AggClientServer(com.google.inject.Provider<org.apache.pekko.actor.Props> supervisorProvider, ClusterAggregatorConfiguration clusterConfiguration)
      Public constructor.
      Parameters:
      supervisorProvider - Provider to build aggregation client supervisors.
      clusterConfiguration - Configuration for the cluster aggregator.
  • Method Details

    • preStart

      public void preStart() throws Exception
      Specified by:
      preStart in interface org.apache.pekko.actor.Actor
      Overrides:
      preStart in class org.apache.pekko.actor.AbstractActor
      Throws:
      Exception
    • onReceive

      public void onReceive(Object message) throws Exception
      Specified by:
      onReceive in class org.apache.pekko.actor.UntypedAbstractActor
      Throws:
      Exception