Package csw.location.api.models
Class AkkaLocation
- java.lang.Object
-
- csw.location.api.models.Location
-
- csw.location.api.models.AkkaLocation
-
- All Implemented Interfaces:
LocationSerializable
,java.io.Serializable
,scala.Equals
,scala.Product
public final class AkkaLocation extends Location implements scala.Product, java.io.Serializable
Represents a live Akka connection of an Actor- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AkkaLocation(Connection.AkkaConnection connection, java.net.URI uri, Metadata metadata)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2, T3 v3)
Connection.AkkaConnection
connection()
Represents a connection based on a componentId and the type of connection offered by the componentMetadata
metadata()
metadata represents any additional information (metadata) associated with locationstatic java.lang.String
toString()
java.net.URI
uri()
Represents the URI of the component
-
-
-
Constructor Detail
-
AkkaLocation
public AkkaLocation(Connection.AkkaConnection connection, java.net.URI uri, Metadata metadata)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3)
-
toString
public static java.lang.String toString()
-
connection
public Connection.AkkaConnection connection()
Description copied from class:Location
Represents a connection based on a componentId and the type of connection offered by the component- Specified by:
connection
in classLocation
- Returns:
- (undocumented)
-
uri
public java.net.URI uri()
Description copied from class:Location
Represents the URI of the component
-
-