$search
Public Member Functions | |
Collection<?extends DNSRecord > | getAdditionals () |
Collection<?extends DNSRecord > | getAllAnswers () |
Collection<?extends DNSRecord > | getAnswers () |
Collection<?extends DNSRecord > | getAuthorities () |
int | getFlags () |
int | getId () |
int | getNumberOfAdditionals () |
int | getNumberOfAnswers () |
int | getNumberOfAuthorities () |
int | getNumberOfQuestions () |
Collection<?extends DNSQuestion > | getQuestions () |
boolean | isEmpty () |
boolean | isMulticast () |
boolean | isQuery () |
boolean | isResponse () |
boolean | isTruncated () |
void | setFlags (int flags) |
void | setId (int id) |
Static Public Attributes | |
static final boolean | MULTICAST = true |
static final boolean | UNICAST = false |
Protected Member Functions | |
DNSMessage (int flags, int id, boolean multicast) | |
String | print (byte[] data) |
Protected Attributes | |
final List< DNSRecord > | _additionals |
final List< DNSRecord > | _answers |
final List< DNSRecord > | _authoritativeAnswers |
final List< DNSQuestion > | _questions |
Package Functions | |
String | print () |
Package Attributes | |
boolean | _multicast |
Private Attributes | |
int | _flags |
int | _id |
DNSMessage define a DNS message either incoming or outgoing.
Definition at line 19 of file DNSMessage.java.
javax::jmdns::impl::DNSMessage::DNSMessage | ( | int | flags, | |
int | id, | |||
boolean | multicast | |||
) | [inline, protected] |
flags | ||
id | ||
multicast |
Definition at line 55 of file DNSMessage.java.
Collection<? extends DNSRecord> javax::jmdns::impl::DNSMessage::getAdditionals | ( | ) | [inline] |
Definition at line 173 of file DNSMessage.java.
Collection<? extends DNSRecord> javax::jmdns::impl::DNSMessage::getAllAnswers | ( | ) | [inline] |
Definition at line 134 of file DNSMessage.java.
Collection<? extends DNSRecord> javax::jmdns::impl::DNSMessage::getAnswers | ( | ) | [inline] |
Definition at line 145 of file DNSMessage.java.
Collection<? extends DNSRecord> javax::jmdns::impl::DNSMessage::getAuthorities | ( | ) | [inline] |
Definition at line 159 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::getFlags | ( | ) | [inline] |
Definition at line 101 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::getId | ( | ) | [inline] |
Definition at line 86 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::getNumberOfAdditionals | ( | ) | [inline] |
Definition at line 180 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::getNumberOfAnswers | ( | ) | [inline] |
Definition at line 152 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::getNumberOfAuthorities | ( | ) | [inline] |
Definition at line 166 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::getNumberOfQuestions | ( | ) | [inline] |
Definition at line 130 of file DNSMessage.java.
Collection<? extends DNSQuestion> javax::jmdns::impl::DNSMessage::getQuestions | ( | ) | [inline] |
Definition at line 123 of file DNSMessage.java.
boolean javax::jmdns::impl::DNSMessage::isEmpty | ( | ) | [inline] |
Check if the message is empty
Definition at line 216 of file DNSMessage.java.
boolean javax::jmdns::impl::DNSMessage::isMulticast | ( | ) | [inline] |
Definition at line 116 of file DNSMessage.java.
boolean javax::jmdns::impl::DNSMessage::isQuery | ( | ) | [inline] |
Check if the message is a query.
Reimplemented in javax::jmdns::impl::DNSOutgoing.
Definition at line 198 of file DNSMessage.java.
boolean javax::jmdns::impl::DNSMessage::isResponse | ( | ) | [inline] |
Check if the message is a response.
Definition at line 207 of file DNSMessage.java.
boolean javax::jmdns::impl::DNSMessage::isTruncated | ( | ) | [inline] |
Check if the message is truncated.
Definition at line 189 of file DNSMessage.java.
String javax::jmdns::impl::DNSMessage::print | ( | byte[] | data | ) | [inline, protected] |
String javax::jmdns::impl::DNSMessage::print | ( | ) | [inline, package] |
Debugging.
Definition at line 223 of file DNSMessage.java.
void javax::jmdns::impl::DNSMessage::setFlags | ( | int | flags | ) | [inline] |
flags | the flags to set |
Definition at line 109 of file DNSMessage.java.
void javax::jmdns::impl::DNSMessage::setId | ( | int | id | ) | [inline] |
id | the id to set |
Definition at line 94 of file DNSMessage.java.
final List<DNSRecord> javax::jmdns::impl::DNSMessage::_additionals [protected] |
Definition at line 48 of file DNSMessage.java.
final List<DNSRecord> javax::jmdns::impl::DNSMessage::_answers [protected] |
Definition at line 44 of file DNSMessage.java.
final List<DNSRecord> javax::jmdns::impl::DNSMessage::_authoritativeAnswers [protected] |
Definition at line 46 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::_flags [private] |
Definition at line 40 of file DNSMessage.java.
int javax::jmdns::impl::DNSMessage::_id [private] |
Definition at line 36 of file DNSMessage.java.
boolean javax::jmdns::impl::DNSMessage::_multicast [package] |
Definition at line 38 of file DNSMessage.java.
final List<DNSQuestion> javax::jmdns::impl::DNSMessage::_questions [protected] |
Definition at line 42 of file DNSMessage.java.
final boolean javax::jmdns::impl::DNSMessage::MULTICAST = true [static] |
Definition at line 24 of file DNSMessage.java.
final boolean javax::jmdns::impl::DNSMessage::UNICAST = false [static] |
Definition at line 29 of file DNSMessage.java.