1 18 19 package com.knowgate.jcifs.smb; 20 21 import java.io.IOException ; 22 import java.io.InputStream ; 23 24 class SmbComWriteResponse extends ServerMessageBlock { 25 26 long count; 27 28 SmbComWriteResponse() { 29 } 30 31 int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { 32 return 0; 33 } 34 int writeBytesWireFormat( byte[] dst, int dstIndex ) { 35 return 0; 36 } 37 int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { 38 count = readInt2( buffer, bufferIndex ) & 0xFFFFL; 39 return 8; 40 } 41 int readBytesWireFormat( byte[] buffer, int bufferIndex ) { 42 return 0; 43 } 44 int readBytesDirectWireFormat( InputStream in, int byteCount ) throws IOException { 45 return 0; 46 } 47 public String toString() { 48 return new String ( "SmbComWriteResponse[" + 49 super.toString() + 50 ",count=" + count + "]" ); 51 } 52 } 53 | Popular Tags |