|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSEntry
public class DNSEntry
DNS entry with a name, type, and class. This is the base class for questions and records.
| Field Summary | |
|---|---|
(package private) int |
clazz
|
(package private) String |
key
|
(package private) String |
name
|
(package private) int |
type
|
(package private) boolean |
unique
|
| Constructor Summary | |
|---|---|
DNSEntry(String name,
int type,
int clazz)
Create an entry. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if two entries have exactly the same name, type, and class. |
int |
getClazz()
|
(package private) static String |
getClazz(int clazz)
Get a string given a clazz. |
String |
getName()
|
int |
getType()
|
(package private) static String |
getType(int type)
Get a string given a type. |
int |
hashCode()
Overriden, to return a value which is consistent with the value returned by equals(Object). |
boolean |
isUnique()
|
String |
toString(String hdr,
String other)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
String key
String name
int type
int clazz
boolean unique
| Constructor Detail |
|---|
DNSEntry(String name,
int type,
int clazz)
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic String getName()
public int getType()
public int getClazz()
public boolean isUnique()
public int hashCode()
hashCode in class Objectstatic String getClazz(int clazz)
static String getType(int type)
public String toString(String hdr,
String other)
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||