Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.zeroconf.jmdns
Class DNSQuestion

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSEntry
      extended by net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSQuestion

public final class DNSQuestion
extends DNSEntry

A DNS question.

Version:
%I%, %G%
Author:
Arthur van Hoff

Field Summary
 
Fields inherited from class net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSEntry
clazz, key, name, type, unique
 
Constructor Summary
DNSQuestion(String name, int type, int clazz)
          Create a question.
 
Method Summary
(package private)  boolean answeredBy(DNSRecord rec)
          Check if this question is answered by a given DNS record.
 String toString()
          For debugging only.
 
Methods inherited from class net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSEntry
equals, getClazz, getClazz, getName, getType, getType, hashCode, isUnique, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DNSQuestion

public DNSQuestion(String name,
                   int type,
                   int clazz)
Create a question.

Parameters:
name -
type -
clazz -
Method Detail

answeredBy

boolean answeredBy(DNSRecord rec)
Check if this question is answered by a given DNS record.


toString

public String toString()
For debugging only.

Overrides:
toString in class Object

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.