Methods Summary |
---|
int | readDataWireFormat(byte[] buffer, int bufferIndex, int len)
switch( informationLevel ) {
case SMB_QUERY_FILE_BASIC_INFO:
return readSmbQueryFileBasicInfoWireFormat( buffer, bufferIndex );
case SMB_QUERY_FILE_STANDARD_INFO:
return readSmbQueryFileStandardInfoWireFormat( buffer, bufferIndex );
default:
return 0;
}
|
int | readParametersWireFormat(byte[] buffer, int bufferIndex, int len)
// observed two zero bytes here with at least win98
return 2;
|
int | readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
return 0;
|
int | readSmbQueryFileBasicInfoWireFormat(byte[] buffer, int bufferIndex)
int start = bufferIndex;
SmbQueryFileBasicInfo info = new SmbQueryFileBasicInfo();
info.createTime = readTime( buffer, bufferIndex );
bufferIndex += 8;
info.lastAccessTime = readTime( buffer, bufferIndex );
bufferIndex += 8;
info.lastWriteTime = readTime( buffer, bufferIndex );
bufferIndex += 8;
info.changeTime = readTime( buffer, bufferIndex );
bufferIndex += 8;
info.attributes = readInt2( buffer, bufferIndex );
bufferIndex += 2;
this.info = info;
return bufferIndex - start;
|
int | readSmbQueryFileStandardInfoWireFormat(byte[] buffer, int bufferIndex)
int start = bufferIndex;
SmbQueryFileStandardInfo info = new SmbQueryFileStandardInfo();
info.allocationSize = readInt8( buffer, bufferIndex );
bufferIndex += 8;
info.endOfFile = readInt8( buffer, bufferIndex );
bufferIndex += 8;
info.numberOfLinks = readInt4( buffer, bufferIndex );
bufferIndex += 4;
info.deletePending = ( buffer[bufferIndex++] & 0xFF ) > 0;
info.directory = ( buffer[bufferIndex++] & 0xFF ) > 0;
this.info = info;
return bufferIndex - start;
|
public java.lang.String | toString()
return new String( "Trans2QueryPathInformationResponse[" +
super.toString() + "]" );
|
int | writeDataWireFormat(byte[] dst, int dstIndex)
return 0;
|
int | writeParametersWireFormat(byte[] dst, int dstIndex)
return 0;
|
int | writeSetupWireFormat(byte[] dst, int dstIndex)
return 0;
|