FileDocCategorySizeDatePackage
SmbComNTCreateAndXResponse.javaAPI DocJCIFS 1.3.17 API3809Tue Oct 18 15:26:24 BST 2011jcifs.smb

SmbComNTCreateAndXResponse

public class SmbComNTCreateAndXResponse extends AndXServerMessageBlock

Fields Summary
static final int
EXCLUSIVE_OPLOCK_GRANTED
static final int
BATCH_OPLOCK_GRANTED
static final int
LEVEL_II_OPLOCK_GRANTED
byte
oplockLevel
int
fid
int
createAction
int
extFileAttributes
int
fileType
int
deviceState
long
creationTime
long
lastAccessTime
long
lastWriteTime
long
changeTime
long
allocationSize
long
endOfFile
boolean
directory
boolean
isExtended
Constructors Summary
SmbComNTCreateAndXResponse()


     
    
Methods Summary
intreadBytesWireFormat(byte[] buffer, int bufferIndex)

        return 0;
    
intreadParameterWordsWireFormat(byte[] buffer, int bufferIndex)

        int start = bufferIndex;

        oplockLevel = buffer[bufferIndex++];
        fid = readInt2( buffer, bufferIndex );
        bufferIndex += 2;
        createAction = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        creationTime = readTime( buffer, bufferIndex );
        bufferIndex += 8;
        lastAccessTime = readTime( buffer, bufferIndex );
        bufferIndex += 8;
        lastWriteTime = readTime( buffer, bufferIndex );
        bufferIndex += 8;
        changeTime = readTime( buffer, bufferIndex );
        bufferIndex += 8;
        extFileAttributes = readInt4( buffer, bufferIndex );
        bufferIndex += 4;
        allocationSize = readInt8( buffer, bufferIndex );
        bufferIndex += 8;
        endOfFile = readInt8( buffer, bufferIndex );
        bufferIndex += 8;
        fileType = readInt2( buffer, bufferIndex );
        bufferIndex += 2;
        deviceState = readInt2( buffer, bufferIndex );
        bufferIndex += 2;
        directory = ( buffer[bufferIndex++] & 0xFF ) > 0;

        return bufferIndex - start;
    
public java.lang.StringtoString()

        return new String( "SmbComNTCreateAndXResponse[" +
            super.toString() +
            ",oplockLevel=" + oplockLevel +
            ",fid=" + fid +
            ",createAction=0x" + Hexdump.toHexString( createAction, 4 ) +
            ",creationTime=" + new Date( creationTime ) +
            ",lastAccessTime=" + new Date( lastAccessTime ) +
            ",lastWriteTime=" + new Date( lastWriteTime ) +
            ",changeTime=" + new Date( changeTime ) +
            ",extFileAttributes=0x" + Hexdump.toHexString( extFileAttributes, 4 ) +
            ",allocationSize=" + allocationSize +
            ",endOfFile=" + endOfFile +
            ",fileType=" + fileType +
            ",deviceState=" + deviceState +
            ",directory=" + directory + "]" );
    
intwriteBytesWireFormat(byte[] dst, int dstIndex)

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

        return 0;