Class R_OSGiWSID

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable, java.security.Principal, org.eclipse.core.runtime.IAdaptable, ID

    public class R_OSGiWSID
    extends R_OSGiID
    Since:
    3.5
    See Also:
    Serialized Form
    • Constructor Detail

      • R_OSGiWSID

        public R_OSGiWSID​(boolean secure,
                          java.lang.String hostname,
                          int port)
    • Method Detail

      • getURI

        public ch.ethz.iks.r_osgi.URI getURI()
        get the internal URI.
        Overrides:
        getURI in class R_OSGiID
        Returns:
        the internal R-OSGi URI.
      • namespaceGetName

        protected java.lang.String namespaceGetName()
        get the name.
        Overrides:
        namespaceGetName in class R_OSGiID
        Returns:
        the name as a String.
      • namespaceHashCode

        protected int namespaceHashCode()
        get the hash code.
        Overrides:
        namespaceHashCode in class R_OSGiID
        Returns:
        the hash code.
      • toString

        public java.lang.String toString()
        get a string representation.
        Specified by:
        toString in interface java.security.Principal
        Overrides:
        toString in class R_OSGiID
        See Also:
        Object.toString()
      • toExternalForm

        public java.lang.String toExternalForm()
        Description copied from interface: ID
        Get this ID instance in String form. Will not return null.
        Specified by:
        toExternalForm in interface ID
        Overrides:
        toExternalForm in class R_OSGiID
        Returns:
        String that is external representation of this ID
        Since:
        3.0
        See Also:
        ID.toExternalForm()