net.java.sip.communicator.impl.protocol.zeroconf.jmdns
Class DNSRecord.Text
java.lang.Object
net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSEntry
net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSRecord
net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSRecord.Text
- Enclosing class:
- DNSRecord
static class DNSRecord.Text
- extends DNSRecord
|
Field Summary |
(package private) byte[] |
text
|
| Fields inherited from class net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSRecord |
ttl |
| Methods inherited from class net.java.sip.communicator.impl.protocol.zeroconf.jmdns.DNSRecord |
equals, getExpirationTime, getRemainingTTL, isExpired, isStale, resetTTL, sameAs, sameType, suppressedBy, suppressedBy, toString |
text
byte[] text
DNSRecord.Text
DNSRecord.Text(String name,
int type,
int clazz,
int ttl,
byte[] text)
write
void write(DNSOutgoing out)
throws IOException
- Description copied from class:
DNSRecord
- Write this record into an outgoing message.
- Specified by:
write in class DNSRecord
- Throws:
IOException
sameValue
boolean sameValue(DNSRecord other)
- Description copied from class:
DNSRecord
- True if this record has the same value as some other record.
- Specified by:
sameValue in class DNSRecord
handleQuery
boolean handleQuery(JmDNS dns,
long expirationTime)
- Description copied from class:
DNSRecord
- Handles a query represented by this record.
- Specified by:
handleQuery in class DNSRecord
- Returns:
- Returns true if a conflict with one of the services registered
with JmDNS or with the hostname occured.
handleResponse
boolean handleResponse(JmDNS dns)
- Description copied from class:
DNSRecord
- Handles a responserepresented by this record.
- Specified by:
handleResponse in class DNSRecord
- Returns:
- Returns true if a conflict with one of the services registered
with JmDNS or with the hostname occured.
addAnswer
DNSOutgoing addAnswer(JmDNS dns,
DNSIncoming in,
InetAddress addr,
int port,
DNSOutgoing out)
throws IOException
- Description copied from class:
DNSRecord
- Adds this as an answer to the provided outgoing datagram.
- Specified by:
addAnswer in class DNSRecord
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.