Package csw.location.models
Class AkkaRegistration
- java.lang.Object
- 
- csw.location.models.Registration
- 
- csw.location.models.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 locationparam: connection the Connectionto register withLocationServiceparam: 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
 
- 
- 
Constructor SummaryConstructors Constructor Description AkkaRegistration(Connection.AkkaConnection connection, Prefix prefix, java.net.URI actorRefURI)
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.net.URIactorRefURI()abstract static Rapply(T1 v1, T2 v2, T3 v3)Connection.AkkaConnectionconnection()TheConnectionto register withLocationServiceLocationlocation(java.lang.String hostname)Create a AkkaLocation that represents the live connection offered by the actorPrefixprefix()static java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
AkkaRegistrationpublic AkkaRegistration(Connection.AkkaConnection connection, Prefix prefix, java.net.URI actorRefURI) 
 
- 
 - 
Method Detail- 
applypublic abstract static R apply(T1 v1, T2 v2, T3 v3)
 - 
toStringpublic static java.lang.String toString() 
 - 
connectionpublic Connection.AkkaConnection connection() Description copied from class:RegistrationTheConnectionto register withLocationService- Specified by:
- connectionin class- Registration
- Returns:
- (undocumented)
 
 - 
prefixpublic Prefix prefix() 
 - 
actorRefURIpublic java.net.URI actorRefURI() 
 - 
locationpublic Location location(java.lang.String hostname) Create a AkkaLocation that represents the live connection offered by the actor- Specified by:
- locationin class- Registration
- Parameters:
- hostname- provide a hostname where the connection endpoint is available
- Returns:
- an AkkaLocation location representing a live connection at provided hostname
 
 
- 
 
-