java.lang.Object
org.codelibs.jcifs.smb.internal.dfs.DfsReferralResponseBuffer
- All Implemented Interfaces:
Decodable
DFS (Distributed File System) referral response buffer parser.
Decodes server responses to DFS referral requests, extracting information about
available DFS targets, path consumption details, and referral flags.
- Author:
- mbechler
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DfsReferralResponseBuffer. -
Method Summary
Modifier and TypeMethodDescriptionintdecode(byte[] buffer, int bufferIndex, int len) Decode data from a byte bufferfinal intGet the number of referrals in the responsefinal intGet the number of characters consumed from the pathfinal Referral[]Get the array of referral entriesfinal intGet the referral flagstoString()
-
Constructor Details
-
DfsReferralResponseBuffer
public DfsReferralResponseBuffer()Default constructor for DfsReferralResponseBuffer. Initializes the DFS referral response buffer for parsing server responses.
-
-
Method Details
-
getPathConsumed
public final int getPathConsumed()Get the number of characters consumed from the path- Returns:
- the pathConsumed
-
getNumReferrals
public final int getNumReferrals()Get the number of referrals in the response- Returns:
- the numReferrals
-
getTflags
public final int getTflags()Get the referral flags- Returns:
- the tflags
-
getReferrals
Get the array of referral entries- Returns:
- the referrals
-
decode
public int decode(byte[] buffer, int bufferIndex, int len) Description copied from interface:DecodableDecode data from a byte buffer -
toString
-