$search

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.

ServiceEvent javax::jmdns::impl::DNSRecord::Text::getServiceEvent ( JmDNSImpl  dns  )  [inline, virtual]

Creates and return a service event for this record.

Parameters:
dns DNS 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:
persistent if 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

Definition at line 538 of file DNSRecord.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


zeroconf_jmdns
Author(s): Daniel Stonier
autogenerated on Wed Jan 16 12:20:34 2013