Class Registration

    • Constructor Summary

      Constructors 
      Constructor Description
      Registration()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract Connection connection()
      The Connection to register with LocationService
      abstract Location location​(java.lang.String hostname)
      A location represents a live connection available for consumption
      abstract Metadata metadata()
      metadata represents any additional information (metadata) associated with registration
      abstract Registration withCswVersion​(java.lang.String version)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Registration

        public Registration()
    • Method Detail

      • connection

        public abstract Connection connection()
        The Connection to register with LocationService
        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
      • metadata

        public abstract Metadata metadata()
        metadata represents any additional information (metadata) associated with registration
        Returns:
        (undocumented)
      • withCswVersion

        public abstract Registration withCswVersion​(java.lang.String version)