SmbComNTCreateAndXResponsepublic 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 |
---|
int | readBytesWireFormat(byte[] buffer, int bufferIndex)
return 0;
| int | readParameterWordsWireFormat(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.String | toString()
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 + "]" );
| int | writeBytesWireFormat(byte[] dst, int dstIndex)
return 0;
| int | writeParameterWordsWireFormat(byte[] dst, int dstIndex)
return 0;
|
|