$search

javax::jmdns::impl::DNSRecord::HostInformation Class Reference

Inheritance diagram for javax::jmdns::impl::DNSRecord::HostInformation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ServiceEvent getServiceEvent (JmDNSImpl dns)
ServiceInfo getServiceInfo (boolean persistent)
 HostInformation (String name, DNSRecordClass recordClass, boolean unique, int ttl, String cpu, String os)
boolean isSingleValued ()

Protected Member Functions

void toString (StringBuilder aLog)

Package Functions

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

Package Attributes

String _cpu
String _os

Detailed Description

Definition at line 848 of file DNSRecord.java.


Constructor & Destructor Documentation

javax::jmdns::impl::DNSRecord::HostInformation::HostInformation ( String  name,
DNSRecordClass  recordClass,
boolean  unique,
int  ttl,
String  cpu,
String  os 
) [inline]
Parameters:
name 
recordClass 
unique 
ttl 
cpu 
os 

Definition at line 860 of file DNSRecord.java.


Member Function Documentation

DNSOutgoing javax::jmdns::impl::DNSRecord::HostInformation::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 871 of file DNSRecord.java.

ServiceEvent javax::jmdns::impl::DNSRecord::HostInformation::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 948 of file DNSRecord.java.

ServiceInfo javax::jmdns::impl::DNSRecord::HostInformation::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 936 of file DNSRecord.java.

boolean javax::jmdns::impl::DNSRecord::HostInformation::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 880 of file DNSRecord.java.

boolean javax::jmdns::impl::DNSRecord::HostInformation::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 889 of file DNSRecord.java.

boolean javax::jmdns::impl::DNSRecord::HostInformation::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 917 of file DNSRecord.java.

boolean javax::jmdns::impl::DNSRecord::HostInformation::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 898 of file DNSRecord.java.

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

Reimplemented from javax::jmdns::impl::DNSRecord.

Definition at line 959 of file DNSRecord.java.

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

Write this record into an outgoing message.

Implements javax::jmdns::impl::DNSRecord.

Definition at line 926 of file DNSRecord.java.


Member Data Documentation

Definition at line 850 of file DNSRecord.java.

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