1 18 19 package jcifs.smb; 20 21 class SmbComFindClose2 extends ServerMessageBlock { 22 23 private int sid; 24 25 SmbComFindClose2( int sid ) { 26 this.sid = sid; 27 command = SMB_COM_FIND_CLOSE2; 28 } 29 30 int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { 31 writeInt2( sid, dst, dstIndex ); 32 return 2; 33 } 34 int writeBytesWireFormat( byte[] dst, int dstIndex ) { 35 return 0; 36 } 37 int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { 38 return 0; 39 } 40 int readBytesWireFormat( byte[] buffer, int bufferIndex ) { 41 return 0; 42 } 43 public String toString() { 44 return new String ( "SmbComFindClose2[" + 45 super.toString() + 46 ",sid=" + sid + "]" ); 47 } 48 } 49 | Popular Tags |