public final class DNSIncoming extends DNSMessage
Modifier and Type | Class and Description |
---|---|
static class |
DNSIncoming.MessageInputStream |
Modifier and Type | Field and Description |
---|---|
static boolean |
USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET |
_additionals, _answers, _authoritativeAnswers, _questions, MULTICAST, UNICAST
Constructor and Description |
---|
DNSIncoming(DatagramPacket packet)
Parse a message from a datagram packet.
|
Modifier and Type | Method and Description |
---|---|
DNSIncoming |
clone() |
int |
elapseSinceArrival() |
int |
getSenderUDPPayload()
This will return the default UDP payload except if an OPT record was found with a different size.
|
String |
toString() |
getAdditionals, getAllAnswers, getAnswers, getAuthorities, getFlags, getId, getNumberOfAdditionals, getNumberOfAnswers, getNumberOfAuthorities, getNumberOfQuestions, getQuestions, isEmpty, isMulticast, isQuery, isResponse, isTruncated, print, setFlags, setId
public static boolean USE_DOMAIN_NAME_FORMAT_FOR_SRV_TARGET
public DNSIncoming(DatagramPacket packet) throws IOException
packet
- IOException
public DNSIncoming clone()
public int elapseSinceArrival()
public int getSenderUDPPayload()
Copyright © 2002–2016 JmDNS. All rights reserved.