public final class AkkaRegistration extends Registration implements scala.Product, scala.Serializable
LocalAkkaActorRegistrationNotAllowed
is thrown if the actorRef provided is not a remote actorRef
param: connection the Connection
to register with LocationService
param: prefix prefix of the component
param: actorRef Provide a remote actor that is offering a connection. Local actors cannot be registered since they can't be
communicated from components across the network
param: logAdminActorRef the ActorRef responsible to handle log level change for a component dynamically
Constructor and Description |
---|
AkkaRegistration(Connection.AkkaConnection connection,
Prefix prefix,
akka.actor.typed.ActorRef<scala.runtime.Nothing$> actorRef,
akka.actor.typed.ActorRef<LogControlMessages> logAdminActorRef) |
Modifier and Type | Method and Description |
---|---|
akka.actor.typed.ActorRef<scala.runtime.Nothing$> |
actorRef() |
abstract static boolean |
canEqual(java.lang.Object that) |
Connection.AkkaConnection |
connection()
The
Connection to register with LocationService |
abstract static boolean |
equals(java.lang.Object that) |
Location |
location(java.lang.String hostname)
Create a AkkaLocation that represents the live connection offered by the actor
|
akka.actor.typed.ActorRef<LogControlMessages> |
logAdminActorRef() |
Prefix |
prefix() |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AkkaRegistration(Connection.AkkaConnection connection, Prefix prefix, akka.actor.typed.ActorRef<scala.runtime.Nothing$> actorRef, akka.actor.typed.ActorRef<LogControlMessages> logAdminActorRef)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public Connection.AkkaConnection connection()
Registration
Connection
to register with LocationService
connection
in class Registration
public Prefix prefix()
public akka.actor.typed.ActorRef<scala.runtime.Nothing$> actorRef()
public akka.actor.typed.ActorRef<LogControlMessages> logAdminActorRef()
public Location location(java.lang.String hostname)
location
in class Registration
hostname
- provide a hostname where the connection endpoint is available