1 18 19 package com.knowgate.jcifs.smb; 20 21 import java.io.IOException ; 22 import java.io.InputStream ; 23 24 class SmbComWriteAndXResponse extends AndXServerMessageBlock { 25 26 long count; 27 28 SmbComWriteAndXResponse() { 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, 45 byte[] buffer, int bufferIndex ) throws IOException { 46 return 0; 47 } 48 public String toString() { 49 return new String ( "SmbComWriteAndXResponse[" + 50 super.toString() + 51 ",count=" + count + "]" ); 52 } 53 } 54 | Popular Tags |