Module jcifs

Interface DfsReferralDataInternal

All Superinterfaces:
DfsReferralData
All Known Implementing Classes:
DfsReferralDataImpl

public interface DfsReferralDataInternal extends DfsReferralData
Internal interface for DFS referral data with extended functionality. Extends the public DFS referral data interface with internal operations like hostname resolution and referral data manipulation for internal DFS management.
Author:
mbechler
  • Method Details

    • fixupHost

      void fixupHost(String fqdn)
      Replaces the host with the given FQDN if it is currently unqualified
      Parameters:
      fqdn - the fully qualified domain name to use
    • fixupDomain

      void fixupDomain(String domain)
      Possibly appends the given domain name to the host name if it is currently unqualified
      Parameters:
      domain - the domain name to append
    • stripPathConsumed

      void stripPathConsumed(int i)
      Reduces path consumed by the given value
      Parameters:
      i - the number of characters to strip from path consumed
    • next

      Description copied from interface: DfsReferralData
      Get the next referral in the chain
      Specified by:
      next in interface DfsReferralData
      Returns:
      pointer to next referral, points to self if there is no further referral
    • setLink

      void setLink(String link)
      Set the UNC path link for this referral
      Parameters:
      link - the UNC path link to set
    • getKey

      String getKey()
      Get the cache key for this referral
      Returns:
      cache key
    • setKey

      void setKey(String key)
      Set the cache key for this referral
      Parameters:
      key - cache key
    • setCacheMap

      void setCacheMap(Map<String,DfsReferralDataInternal> map)
      Set the cache map for this referral
      Parameters:
      map - the cache map to associate with this referral
    • replaceCache

      void replaceCache()
      Replaces the entry with key in the cache map with this referral
    • isResolveHashes

      boolean isResolveHashes()
      Not exactly sure what that is all about, certainly legacy stuff
      Returns:
      resolveHashes
    • isIntermediate

      boolean isIntermediate()
      Check if this referral needs to be resolved further
      Returns:
      whether this refrral needs to be resolved further
    • combine

      Combine this referral with another to form a chain
      Parameters:
      next - the referral to combine with
      Returns:
      new referral, combining a chain of referrals
    • append

      void append(DfsReferralDataInternal dr)
      Append another referral to this referral chain
      Parameters:
      dr - the referral to append