FileDocCategorySizeDatePackage
SmbComNtTransactionResponse.javaAPI DocJCIFS 1.3.17 API2406Tue Oct 18 15:26:24 BST 2011jcifs.smb

SmbComNtTransactionResponse

public abstract class SmbComNtTransactionResponse extends SmbComTransactionResponse

Fields Summary
Constructors Summary
SmbComNtTransactionResponse()

        super();
    
Methods Summary
intreadParameterWordsWireFormat(byte[] buffer, int bufferIndex)

        int start = bufferIndex;

        buffer[bufferIndex++] = (byte)0x00;        // Reserved
        buffer[bufferIndex++] = (byte)0x00;        // Reserved
        buffer[bufferIndex++] = (byte)0x00;        // Reserved

        totalParameterCount = readInt4( buffer, bufferIndex );
        if( bufDataStart == 0 ) {
            bufDataStart = totalParameterCount;
        }
        bufferIndex += 4;
        totalDataCount = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        parameterCount = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        parameterOffset = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        parameterDisplacement = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        dataCount = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        dataOffset = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        dataDisplacement = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        setupCount = buffer[bufferIndex] & 0xFF;
        bufferIndex += 2;
        if( setupCount != 0 ) {
            if( log.level >= 3 )
                log.println( "setupCount is not zero: " + setupCount );
        }

        return bufferIndex - start;