1 18 19 package jcifs.netbios; 20 21 class NodeStatusRequest extends NameServicePacket { 22 23 NodeStatusRequest( Name name ) { 24 questionName = name; 25 questionType = NBSTAT; 26 isRecurDesired = false; 27 isBroadcast = false; 28 } 29 30 int writeBodyWireFormat( byte[] dst, int dstIndex ) { 31 int tmp = questionName.hexCode; 32 questionName.hexCode = 0x00; int result = writeQuestionSectionWireFormat( dst, dstIndex ); 34 questionName.hexCode = tmp; 35 return result; 36 } 37 int readBodyWireFormat( byte[] src, int srcIndex ) { 38 return 0; 39 } 40 int writeRDataWireFormat( byte[] dst, int dstIndex ) { 41 return 0; 42 } 43 int readRDataWireFormat( byte[] src, int srcIndex ) { 44 return 0; 45 } 46 public String toString() { 47 return new String ( "NodeStatusRequest[" + 48 super.toString() + "]" ); 49 } 50 } 51 | Popular Tags |