Public Member Functions | Protected Member Functions | Package Functions | Private Attributes
javax.jmdns.impl.DNSRecord.Text Class Reference
Inheritance diagram for javax.jmdns.impl.DNSRecord.Text:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ServiceEvent getServiceEvent (JmDNSImpl dns)
ServiceInfo getServiceInfo (boolean persistent)
boolean isSingleValued ()
 Text (String name, DNSRecordClass recordClass, boolean unique, int ttl, byte text[])

Protected Member Functions

void toString (StringBuilder aLog)

Package Functions

DNSOutgoing addAnswer (JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException
byte[] getText ()
boolean handleQuery (JmDNSImpl dns, long expirationTime)
boolean handleResponse (JmDNSImpl dns)
boolean sameValue (DNSRecord other)
void write (MessageOutputStream out)

Private Attributes

final byte[] _text

Detailed Description

Definition at line 536 of file DNSRecord.java.


Constructor & Destructor Documentation

javax.jmdns.impl.DNSRecord.Text.Text ( String  name,
DNSRecordClass  recordClass,
boolean  unique,
int  ttl,
byte  text[] 
) [inline]

Definition at line 540 of file DNSRecord.java.


Member Function Documentation

DNSOutgoing javax.jmdns.impl.DNSRecord.Text.addAnswer ( JmDNSImpl  dns,
DNSIncoming  in,
InetAddress  addr,
int  port,
DNSOutgoing  out 
) throws IOException [inline, package, virtual]

Adds this as an answer to the provided outgoing datagram.

Implements javax.jmdns.impl.DNSRecord.

Definition at line 600 of file DNSRecord.java.

Creates and return a service event for this record.

Parameters:
dnsDNS serviced by this event
Returns:
service event

Implements javax.jmdns.impl.DNSRecord.

Definition at line 618 of file DNSRecord.java.

ServiceInfo javax.jmdns.impl.DNSRecord.Text.getServiceInfo ( boolean  persistent) [inline, virtual]

Return a service information associated with that record if appropriate.

Parameters:
persistentif true ServiceListener.resolveService will be called whenever new new information is received.
Returns:
service information

Implements javax.jmdns.impl.DNSRecord.

Definition at line 609 of file DNSRecord.java.

byte [] javax.jmdns.impl.DNSRecord.Text.getText ( ) [inline, package]
Returns:
the text

Definition at line 548 of file DNSRecord.java.

boolean javax.jmdns.impl.DNSRecord.Text.handleQuery ( JmDNSImpl  dns,
long  expirationTime 
) [inline, package, virtual]

Handles a query represented by this record.

Returns:
Returns true if a conflict with one of the services registered with JmDNS or with the hostname occured.

Implements javax.jmdns.impl.DNSRecord.

Definition at line 583 of file DNSRecord.java.

boolean javax.jmdns.impl.DNSRecord.Text.handleResponse ( JmDNSImpl  dns) [inline, package, virtual]

Handles a response represented by this record.

Returns:
Returns true if a conflict with one of the services registered with JmDNS or with the hostname occured.

Implements javax.jmdns.impl.DNSRecord.

Definition at line 590 of file DNSRecord.java.

boolean javax.jmdns.impl.DNSRecord.Text.isSingleValued ( ) [inline, virtual]

Determine if a record can have multiple values in the cache.

Returns:
false if this record can have multiple values in the cache, true otherwise.

Implements javax.jmdns.impl.DNSRecord.

Definition at line 578 of file DNSRecord.java.

boolean javax.jmdns.impl.DNSRecord.Text.sameValue ( DNSRecord  other) [inline, package, virtual]

True if this record has the same value as some other record.

Implements javax.jmdns.impl.DNSRecord.

Definition at line 558 of file DNSRecord.java.

void javax.jmdns.impl.DNSRecord.Text.toString ( StringBuilder  aLog) [inline, protected]
Parameters:
aLog

Reimplemented from javax.jmdns.impl.DNSRecord.

Definition at line 629 of file DNSRecord.java.

void javax.jmdns.impl.DNSRecord.Text.write ( MessageOutputStream  out) [inline, package, virtual]

Write this record into an outgoing message.

Implements javax.jmdns.impl.DNSRecord.

Definition at line 553 of file DNSRecord.java.


Member Data Documentation

final byte [] javax.jmdns.impl.DNSRecord.Text._text [private]

Definition at line 538 of file DNSRecord.java.


The documentation for this class was generated from the following file:


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27