Class AkkaRegistration

  • All Implemented Interfaces:
    LocationSerializable, java.io.Serializable, scala.Equals, scala.Product

    public final class AkkaRegistration
    extends Registration
    implements scala.Product, java.io.Serializable
    AkkaRegistration holds the information needed to register an akka location

    param: connection the Connection to register with LocationService param: prefix prefix of the component param: actorRefURI Provide a remote actor uri that is offering a connection. Local actors cannot be registered since they can't be communicated from components across the network

    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI actorRefURI()  
      abstract static R apply​(T1 v1, T2 v2, T3 v3)  
      Connection.AkkaConnection connection()
      The Connection to register with LocationService
      Location location​(java.lang.String hostname)
      Create a AkkaLocation that represents the live connection offered by the actor
      Prefix prefix()  
      static java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Method Detail

      • apply

        public abstract static R apply​(T1 v1,
                                       T2 v2,
                                       T3 v3)
      • toString

        public static java.lang.String toString()
      • prefix

        public Prefix prefix()
      • actorRefURI

        public java.net.URI actorRefURI()
      • location

        public Location location​(java.lang.String hostname)
        Create a AkkaLocation that represents the live connection offered by the actor

        Specified by:
        location in class Registration
        Parameters:
        hostname - provide a hostname where the connection endpoint is available
        Returns:
        an AkkaLocation location representing a live connection at provided hostname