Class TypedConnection<T extends Location>

java.lang.Object
csw.location.api.models.Connection
csw.location.api.models.TypedConnection<T>
Type Parameters:
T - represents the type of Location
All Implemented Interfaces:
LocationSerializable
Direct Known Subclasses:
Connection.AkkaConnection, Connection.HttpConnection, Connection.TcpConnection

public abstract class TypedConnection<T extends Location> extends Connection
TypedConnection captures the type of Location that concrete connection will resolve to

param: connectionType represents the type of connection e.g akka, http, tcp

  • Constructor Details

    • TypedConnection

      public TypedConnection(ConnectionType connectionType)