public String debugString() { String dbgs = "(query: "; dbgs += super.debugString(); dbgs += getMessageId(); dbgs += " "; dbgs += getSourceAddr().debugString(); dbgs += " "; dbgs += debugStringOptional(); dbgs += ") "; return dbgs; } }
public ByteBuffer getBody() { ByteBuffer buffer = new ByteBuffer(); buffer.appendCString(messageId); buffer.appendBuffer(getSourceAddr().getData()); return buffer; } public void setMessageId(String value) throws WrongLengthOfStringException {