Class Referral

    • Constructor Detail

      • Referral

        public Referral()
    • Method Detail

      • getVersion

        public final int getVersion()
        Returns:
        the version
      • getSize

        public final int getSize()
        Returns:
        the size
      • getServerType

        public final int getServerType()
        Returns:
        the serverType
      • getRFlags

        public final int getRFlags()
        Returns:
        the rflags
      • getProximity

        public final int getProximity()
        Returns:
        the proximity
      • getAltPath

        public final String getAltPath()
        Returns:
        the altPath
      • getTtl

        public final int getTtl()
        Returns:
        the ttl
      • getRpath

        public final String getRpath()
        Returns:
        the rpath
      • getNode

        public final String getNode()
        Returns:
        the node
      • getSpecialName

        public final String getSpecialName()
        Returns:
        the specialName
      • getExpandedNames

        public final String[] getExpandedNames()
        Returns:
        the expandedNames
      • decode

        public int decode​(byte[] buffer,
                          int bufferIndex,
                          int len)
        Specified by:
        decode in interface Decodable
        Returns:
        decoded length