Package csw.location.api.models
Class Registration
java.lang.Object
csw.location.api.models.Registration
- All Implemented Interfaces:
LocationSerializable
- Direct Known Subclasses:
AkkaRegistration
,HttpRegistration
,TcpRegistration
Registration holds information about a connection and its live location. This model is used to register a connection with LocationService.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Connection
TheConnection
to register withLocationService
abstract Location
A location represents a live connection available for consumptionabstract Metadata
metadata()
metadata represents any additional information (metadata) associated with registrationabstract Registration
withCswVersion
(String version)
-
Constructor Details
-
Registration
public Registration()
-
-
Method Details
-
connection
TheConnection
to register withLocationService
- Returns:
- (undocumented)
-
location
A location represents a live connection available for consumption- Parameters:
hostname
- provide a hostname where the connection endpoint is available- Returns:
- a location representing a live connection at provided hostname
-
metadata
metadata represents any additional information (metadata) associated with registration- Returns:
- (undocumented)
-
withCswVersion
-