1 18 19 package jcifs.netbios; 20 21 class NameQueryRequest extends NameServicePacket { 22 23 NameQueryRequest( Name name ) { 24 questionName = name; 25 questionType = NB; 26 } 27 28 int writeBodyWireFormat( byte[] dst, int dstIndex ) { 29 return writeQuestionSectionWireFormat( dst, dstIndex ); 30 } 31 int readBodyWireFormat( byte[] src, int srcIndex ) { 32 return readQuestionSectionWireFormat( src, srcIndex ); 33 } 34 int writeRDataWireFormat( byte[] dst, int dstIndex ) { 35 return 0; 36 } 37 int readRDataWireFormat( byte[] src, int srcIndex ) { 38 return 0; 39 } 40 public String toString() { 41 return new String ( "NameQueryRequest[" + 42 super.toString() + "]" ); 43 } 44 } 45 | Popular Tags |