SmbComDeletepublic class SmbComDelete extends ServerMessageBlock
Fields Summary |
---|
private int | searchAttributes |
Constructors Summary |
---|
SmbComDelete(String fileName)
this.path = fileName;
command = SMB_COM_DELETE;
searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM;
|
Methods Summary |
---|
int | readBytesWireFormat(byte[] buffer, int bufferIndex)
return 0;
| int | readParameterWordsWireFormat(byte[] buffer, int bufferIndex)
return 0;
| public java.lang.String | toString()
return new String( "SmbComDelete[" +
super.toString() +
",searchAttributes=0x" + Hexdump.toHexString( searchAttributes, 4 ) +
",fileName=" + path + "]" );
| int | writeBytesWireFormat(byte[] dst, int dstIndex)
int start = dstIndex;
dst[dstIndex++] = (byte)0x04;
dstIndex += writeString( path, dst, dstIndex );
return dstIndex - start;
| int | writeParameterWordsWireFormat(byte[] dst, int dstIndex)
writeInt2( searchAttributes, dst, dstIndex );
return 2;
|
|