Package csw.location.api.models
Class TcpLocation
java.lang.Object
csw.location.api.models.Location
csw.location.api.models.TcpLocation
- All Implemented Interfaces:
LocationSerializable
,Serializable
,scala.Equals
,scala.Product
Represents a live Tcp connection
param: connection represents a connection based on a componentId and the type of connection offered by the component param: uri represents the remote URI of the component that other components will resolve and talk to param: metadata represents additional metadata information associated with location. Defaulted to empty is not provided while registration.
- See Also:
-
Constructor Summary
ConstructorDescriptionTcpLocation
(Connection.TcpConnection connection, URI uri, Metadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionabstract static R
apply
(T1 v1, T2 v2, T3 v3) Represents a connection based on a componentId and the type of connection offered by the componentmetadata()
metadata represents any additional information (metadata) associated with locationstatic String
toString()
uri()
Represents the URI of the componentMethods 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
-
Constructor Details
-
TcpLocation
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3) -
toString
-
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
Description copied from class:Location
Represents the URI of the component -
metadata
Description copied from class:Location
metadata represents any additional information (metadata) associated with location
-