static class QueryResponseHandler.Query extends Object
Modifier and Type | Field and Description |
---|---|
private int |
id |
private String |
message |
private byte[] |
messageBytes |
private byte[] |
replyBuf |
private long |
startTime |
Constructor and Description |
---|
Query(DatagramPacket datagramPacket) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
byte[] |
getMessageBytes() |
byte[] |
getReplyBuf() |
Boolean |
startedBefore(long lastQueryTime) |
private final long startTime
private final int id
private final byte[] messageBytes
private final byte[] replyBuf
private final String message
public Query(DatagramPacket datagramPacket)
public Boolean startedBefore(long lastQueryTime)
public int getId()
public byte[] getReplyBuf()
public byte[] getMessageBytes()