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

List of all members.

Public Member Functions

ServiceEvent getServiceEvent (JmDNSImpl dns)
ServiceInfo getServiceInfo (boolean persistent)
boolean isSameEntry (DNSEntry entry)
boolean isSingleValued ()
 Pointer (String name, DNSRecordClass recordClass, boolean unique, int ttl, String alias)

Protected Member Functions

void toString (StringBuilder aLog)

Package Functions

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

Private Attributes

final String _alias

Detailed Description

Pointer record.

Definition at line 425 of file DNSRecord.java.


Constructor & Destructor Documentation

javax.jmdns.impl.DNSRecord.Pointer.Pointer ( String  name,
DNSRecordClass  recordClass,
boolean  unique,
int  ttl,
String  alias 
) [inline]

Definition at line 429 of file DNSRecord.java.


Member Function Documentation

DNSOutgoing javax.jmdns.impl.DNSRecord.Pointer.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 484 of file DNSRecord.java.

String javax.jmdns.impl.DNSRecord.Pointer.getAlias ( ) [inline, package]

Definition at line 479 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 514 of file DNSRecord.java.

ServiceInfo javax.jmdns.impl.DNSRecord.Pointer.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 493 of file DNSRecord.java.

boolean javax.jmdns.impl.DNSRecord.Pointer.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 466 of file DNSRecord.java.

boolean javax.jmdns.impl.DNSRecord.Pointer.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 473 of file DNSRecord.java.

Check if two entries have exactly the same name, type, and class.

Parameters:
entry
Returns:
true if the two entries have are for the same record, false otherwise

Reimplemented from javax.jmdns.impl.DNSEntry.

Definition at line 439 of file DNSRecord.java.

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 461 of file DNSRecord.java.

boolean javax.jmdns.impl.DNSRecord.Pointer.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 449 of file DNSRecord.java.

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

Reimplemented from javax.jmdns.impl.DNSRecord.

Definition at line 527 of file DNSRecord.java.

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

Write this record into an outgoing message.

Implements javax.jmdns.impl.DNSRecord.

Definition at line 444 of file DNSRecord.java.


Member Data Documentation

Definition at line 427 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