Package csw.location.models
Class Registration
- java.lang.Object
 - 
- csw.location.models.Registration
 
 
- 
- All Implemented Interfaces:
 LocationSerializable
- Direct Known Subclasses:
 AkkaRegistration,HttpRegistration,TcpRegistration
public abstract class Registration extends java.lang.Object implements LocationSerializable
Registration holds information about a connection and its live location. This model is used to register a connection with LocationService. 
- 
- 
Constructor Summary
Constructors Constructor Description Registration() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Connectionconnection()TheConnectionto register withLocationServiceabstract Locationlocation(java.lang.String hostname)A location represents a live connection available for consumption 
 - 
 
- 
- 
Method Detail
- 
connection
public abstract Connection connection()
TheConnectionto register withLocationService- Returns:
 - (undocumented)
 
 
- 
location
public abstract Location location(java.lang.String hostname)
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
 
 
 - 
 
 -