FileDocCategorySizeDatePackage
SmbComReadAndXResponse.javaAPI DocJCIFS 1.3.17 API2356Tue Oct 18 15:26:24 BST 2011jcifs.smb

SmbComReadAndXResponse

public class SmbComReadAndXResponse extends AndXServerMessageBlock

Fields Summary
byte[]
b
int
off
int
dataCompactionMode
int
dataLength
int
dataOffset
Constructors Summary
SmbComReadAndXResponse()

    
SmbComReadAndXResponse(byte[] b, int off)

        this.b = b;
        this.off = off;
    
Methods Summary
intreadBytesWireFormat(byte[] buffer, int bufferIndex)

        // handled special in SmbTransport.doRecv()
        return 0;
    
intreadParameterWordsWireFormat(byte[] buffer, int bufferIndex)

        int start = bufferIndex;

        bufferIndex += 2; // reserved
        dataCompactionMode = readInt2( buffer, bufferIndex );
        bufferIndex += 4; // 2 reserved
        dataLength = readInt2( buffer, bufferIndex );
        bufferIndex += 2;
        dataOffset = readInt2( buffer, bufferIndex );
        bufferIndex += 12; // 10 reserved

        return bufferIndex - start;
    
voidsetParam(byte[] b, int off)

        this.b = b;
        this.off = off;
    
public java.lang.StringtoString()

        return new String( "SmbComReadAndXResponse[" +
            super.toString() +
            ",dataCompactionMode=" + dataCompactionMode +
            ",dataLength=" + dataLength +
            ",dataOffset=" + dataOffset + "]" );
    
intwriteBytesWireFormat(byte[] dst, int dstIndex)

        return 0;
    
intwriteParameterWordsWireFormat(byte[] dst, int dstIndex)

        return 0;