Trans2GetDfsReferralResponsepublic class Trans2GetDfsReferralResponse extends SmbComTransactionResponse
Fields Summary |
---|
int | pathConsumed | int | numReferrals | int | flags | Referral[] | referrals |
Constructors Summary |
---|
Trans2GetDfsReferralResponse()
subCommand = SmbComTransaction.TRANS2_GET_DFS_REFERRAL;
|
Methods Summary |
---|
int | readDataWireFormat(byte[] buffer, int bufferIndex, int len)
int start = bufferIndex;
pathConsumed = readInt2( buffer, bufferIndex );
bufferIndex += 2;
/* Samba 2.2.8a will reply with Unicode paths even though
* ASCII is negotiated so we must use flags2 (probably
* should anyway).
*/
if((flags2 & FLAGS2_UNICODE) != 0) {
pathConsumed /= 2;
}
numReferrals = readInt2( buffer, bufferIndex );
bufferIndex += 2;
flags = readInt2( buffer, bufferIndex );
bufferIndex += 4;
referrals = new Referral[numReferrals];
for (int ri = 0; ri < numReferrals; ri++) {
referrals[ri] = new Referral();
bufferIndex += referrals[ri].readWireFormat( buffer, bufferIndex, len );
}
return bufferIndex - start;
| int | readParametersWireFormat(byte[] buffer, int bufferIndex, int len)
return 0;
| int | readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
return 0;
| public java.lang.String | toString()
return new String( "Trans2GetDfsReferralResponse[" +
super.toString() + ",pathConsumed=" + pathConsumed +
",numReferrals=" + numReferrals + ",flags=" + flags + "]" );
| int | writeDataWireFormat(byte[] dst, int dstIndex)
return 0;
| int | writeParametersWireFormat(byte[] dst, int dstIndex)
return 0;
| int | writeSetupWireFormat(byte[] dst, int dstIndex)
return 0;
|
|