
| Classes | |
| interface | Delegate | 
| class | ServiceInfoState | 
| Public Member Functions | |
| boolean | advanceState (DNSTask task) | 
| Collection< DNSRecord > | answers (boolean unique, int ttl, HostInfo localHost) | 
| void | associateWithTask (DNSTask task, DNSState state) | 
| boolean | cancelState () | 
| ServiceInfoImpl | clone () | 
| boolean | closeState () | 
| boolean | equals (Object obj) | 
| InetAddress | getAddress () | 
| String | getApplication () | 
| JmDNSImpl | getDns () | 
| String | getDomain () | 
| String | getHostAddress () | 
| String[] | getHostAddresses () | 
| Inet4Address | getInet4Address () | 
| Inet4Address[] | getInet4Addresses () | 
| Inet6Address | getInet6Address () | 
| Inet6Address[] | getInet6Addresses () | 
| InetAddress | getInetAddress () | 
| InetAddress[] | getInetAddresses () | 
| String | getKey () | 
| String | getName () | 
| String | getNiceTextString () | 
| int | getPort () | 
| int | getPriority () | 
| synchronized byte[] | getPropertyBytes (String name) | 
| Enumeration< String > | getPropertyNames () | 
| synchronized String | getPropertyString (String name) | 
| String | getProtocol () | 
| String | getQualifiedName () | 
| Map< Fields, String > | getQualifiedNameMap () | 
| String | getServer () | 
| String | getSubtype () | 
| byte[] | getTextBytes () | 
| String | getTextString () | 
| String | getType () | 
| String | getTypeWithSubtype () | 
| String | getURL () | 
| String | getURL (String protocol) | 
| String[] | getURLs () | 
| String[] | getURLs (String protocol) | 
| int | getWeight () | 
| synchronized boolean | hasData () | 
| int | hashCode () | 
| boolean | isAnnounced () | 
| boolean | isAnnouncing () | 
| boolean | isAssociatedWithTask (DNSTask task, DNSState state) | 
| boolean | isCanceled () | 
| boolean | isCanceling () | 
| boolean | isClosed () | 
| boolean | isClosing () | 
| boolean | isPersistent () | 
| boolean | isProbing () | 
| boolean | needTextAnnouncing () | 
| boolean | recoverState () | 
| void | removeAssociationWithTask (DNSTask task) | 
| boolean | revertState () | 
| ServiceInfoImpl (String type, String name, String subtype, int port, int weight, int priority, boolean persistent, String text) | |
| ServiceInfoImpl (String type, String name, String subtype, int port, int weight, int priority, boolean persistent, Map< String,?> props) | |
| ServiceInfoImpl (String type, String name, String subtype, int port, int weight, int priority, boolean persistent, byte text[]) | |
| ServiceInfoImpl (Map< Fields, String > qualifiedNameMap, int port, int weight, int priority, boolean persistent, Map< String,?> props) | |
| void | setDns (JmDNSImpl dns) | 
| void | setNeedTextAnnouncing (boolean needTextAnnouncing) | 
| void | setText (byte[] text) throws IllegalStateException | 
| void | setText (Map< String,?> props) throws IllegalStateException | 
| String | toString () | 
| void | updateRecord (DNSCache dnsCache, long now, DNSEntry rec) | 
| boolean | waitForAnnounced (long timeout) | 
| boolean | waitForCanceled (long timeout) | 
| Static Public Member Functions | |
| static Map< Fields, String > | decodeQualifiedNameMap (String type, String name, String subtype) | 
| static Map< Fields, String > | decodeQualifiedNameMapForType (String type) | 
| Static Protected Member Functions | |
| static Map< Fields, String > | checkQualifiedNameMap (Map< Fields, String > qualifiedNameMap) | 
| Package Functions | |
| void | _setText (byte[] text) | 
| void | addAddress (Inet4Address addr) | 
| void | addAddress (Inet6Address addr) | 
| Delegate | getDelegate () | 
| synchronized Map< String, byte[]> | getProperties () | 
| String | readUTF (byte data[], int off, int len) | 
| ServiceInfoImpl (Map< Fields, String > qualifiedNameMap, int port, int weight, int priority, boolean persistent, String text) | |
| ServiceInfoImpl (Map< Fields, String > qualifiedNameMap, int port, int weight, int priority, boolean persistent, byte text[]) | |
| ServiceInfoImpl (ServiceInfo info) | |
| void | setDelegate (Delegate delegate) | 
| void | setName (String name) | 
| void | setServer (String server) | 
| Static Package Functions | |
| static void | writeUTF (OutputStream out, String str) throws IOException | 
| Private Member Functions | |
| final boolean | hasInetAddress () | 
| Static Private Member Functions | |
| static String | removeSeparators (String name) | 
| static byte[] | textFromProperties (Map< String,?> props) | 
| Private Attributes | |
| String | _application | 
| Delegate | _delegate | 
| String | _domain | 
| final Set< Inet4Address > | _ipv4Addresses | 
| final Set< Inet6Address > | _ipv6Addresses | 
| transient String | _key | 
| String | _name | 
| boolean | _needTextAnnouncing | 
| boolean | _persistent | 
| int | _port | 
| int | _priority | 
| Map< String, byte[]> | _props | 
| String | _protocol | 
| String | _server | 
| final ServiceInfoState | _state | 
| String | _subtype | 
| byte | _text [] | 
| int | _weight | 
| Static Private Attributes | |
| static Logger | logger = Logger.getLogger(ServiceInfoImpl.class.getName()) | 
JmDNS service information.
Definition at line 42 of file ServiceInfoImpl.java.
| javax.jmdns.impl.ServiceInfoImpl.ServiceInfoImpl | ( | String | type, | 
| String | name, | ||
| String | subtype, | ||
| int | port, | ||
| int | weight, | ||
| int | priority, | ||
| boolean | persistent, | ||
| String | text | ||
| ) |  [inline] | 
| type | |
| name | |
| subtype | |
| port | |
| weight | |
| priority | |
| persistent | |
| text | 
Definition at line 127 of file ServiceInfoImpl.java.
| javax.jmdns.impl.ServiceInfoImpl.ServiceInfoImpl | ( | String | type, | 
| String | name, | ||
| String | subtype, | ||
| int | port, | ||
| int | weight, | ||
| int | priority, | ||
| boolean | persistent, | ||
| Map< String,?> | props | ||
| ) |  [inline] | 
| type | |
| name | |
| subtype | |
| port | |
| weight | |
| priority | |
| persistent | |
| props | 
Definition at line 150 of file ServiceInfoImpl.java.
| javax.jmdns.impl.ServiceInfoImpl.ServiceInfoImpl | ( | String | type, | 
| String | name, | ||
| String | subtype, | ||
| int | port, | ||
| int | weight, | ||
| int | priority, | ||
| boolean | persistent, | ||
| byte | text[] | ||
| ) |  [inline] | 
| type | |
| name | |
| subtype | |
| port | |
| weight | |
| priority | |
| persistent | |
| text | 
Definition at line 165 of file ServiceInfoImpl.java.
| javax.jmdns.impl.ServiceInfoImpl.ServiceInfoImpl | ( | Map< Fields, String > | qualifiedNameMap, | 
| int | port, | ||
| int | weight, | ||
| int | priority, | ||
| boolean | persistent, | ||
| Map< String,?> | props | ||
| ) |  [inline] | 
Definition at line 169 of file ServiceInfoImpl.java.
| javax.jmdns.impl.ServiceInfoImpl.ServiceInfoImpl | ( | Map< Fields, String > | qualifiedNameMap, | 
| int | port, | ||
| int | weight, | ||
| int | priority, | ||
| boolean | persistent, | ||
| String | text | ||
| ) |  [inline, package] | 
Definition at line 173 of file ServiceInfoImpl.java.
| javax.jmdns.impl.ServiceInfoImpl.ServiceInfoImpl | ( | Map< Fields, String > | qualifiedNameMap, | 
| int | port, | ||
| int | weight, | ||
| int | priority, | ||
| boolean | persistent, | ||
| byte | text[] | ||
| ) |  [inline, package] | 
Definition at line 185 of file ServiceInfoImpl.java.
| javax.jmdns.impl.ServiceInfoImpl.ServiceInfoImpl | ( | ServiceInfo | info | ) |  [inline, package] | 
During recovery we need to duplicate service info to reregister them
| info | 
Definition at line 210 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl._setText | ( | byte[] | text | ) |  [inline, package] | 
This is used internally by the framework
| text | 
Definition at line 1284 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.addAddress | ( | Inet4Address | addr | ) |  [inline, package] | 
| addr | the addr to add | 
Definition at line 490 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.addAddress | ( | Inet6Address | addr | ) |  [inline, package] | 
| addr | the addr to add | 
Definition at line 498 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.advanceState | ( | DNSTask | task | ) |  [inline] | 
Sets the state and notifies all objects that wait on the ServiceInfo.
| task | associated task | 
true</code if the state was changed by this thread, false otherwise.  DNSState::advance()Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1015 of file ServiceInfoImpl.java.
| Collection<DNSRecord> javax.jmdns.impl.ServiceInfoImpl.answers | ( | boolean | unique, | 
| int | ttl, | ||
| HostInfo | localHost | ||
| ) |  [inline] | 
Definition at line 1248 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.associateWithTask | ( | DNSTask | task, | 
| DNSState | state | ||
| ) |  [inline] | 
Sets the task associated with this Object.
| task | associated task | 
| state | state of the task | 
Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1063 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.cancelState | ( | ) |  [inline] | 
Sets the state and notifies all objects that wait on the ServiceInfo.
true</code if the state was changed by this thread, false otherwise.Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1031 of file ServiceInfoImpl.java.
| static Map<Fields, String> javax.jmdns.impl.ServiceInfoImpl.checkQualifiedNameMap | ( | Map< Fields, String > | qualifiedNameMap | ) |  [inline, static, protected] | 
Definition at line 318 of file ServiceInfoImpl.java.
| ServiceInfoImpl javax.jmdns.impl.ServiceInfoImpl.clone | ( | ) |  [inline] | 
Reimplemented from javax.jmdns.ServiceInfo.
Definition at line 1190 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.closeState | ( | ) |  [inline] | 
Sets the state and notifies all objects that wait on the ServiceInfo.
true</code if the state was changed by this thread, false otherwise.Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1039 of file ServiceInfoImpl.java.
| static Map<Fields, String> javax.jmdns.impl.ServiceInfoImpl.decodeQualifiedNameMap | ( | String | type, | 
| String | name, | ||
| String | subtype | ||
| ) |  [inline, static] | 
Definition at line 236 of file ServiceInfoImpl.java.
| static Map<Fields, String> javax.jmdns.impl.ServiceInfoImpl.decodeQualifiedNameMapForType | ( | String | type | ) |  [inline, static] | 
Definition at line 245 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.equals | ( | Object | obj | ) |  [inline] | 
Definition at line 1159 of file ServiceInfoImpl.java.
| InetAddress javax.jmdns.impl.ServiceInfoImpl.getAddress | ( | ) |  [inline, virtual] | 
Get the host address of the service.
Implements javax.jmdns.ServiceInfo.
Definition at line 507 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getApplication | ( | ) |  [inline, virtual] | 
Returns the application of the service info suitable for printing.
Implements javax.jmdns.ServiceInfo.
Definition at line 710 of file ServiceInfoImpl.java.
| Delegate javax.jmdns.impl.ServiceInfoImpl.getDelegate | ( | ) |  [inline, package] | 
Definition at line 1370 of file ServiceInfoImpl.java.
| JmDNSImpl javax.jmdns.impl.ServiceInfoImpl.getDns | ( | ) |  [inline] | 
Returns the DNS associated with this object.
Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1337 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getDomain | ( | ) |  [inline, virtual] | 
Returns the domain of the service info suitable for printing.
Implements javax.jmdns.ServiceInfo.
Definition at line 718 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getHostAddress | ( | ) |  [inline, virtual] | 
Returns the host IP address string in textual presentation.
 Note: This can be either an IPv4 or an IPv6 representation.
Implements javax.jmdns.ServiceInfo.
Definition at line 464 of file ServiceInfoImpl.java.
| String [] javax.jmdns.impl.ServiceInfoImpl.getHostAddresses | ( | ) |  [inline, virtual] | 
Returns the host IP addresses string in textual presentation.
Implements javax.jmdns.ServiceInfo.
Definition at line 473 of file ServiceInfoImpl.java.
| Inet4Address javax.jmdns.impl.ServiceInfoImpl.getInet4Address | ( | ) |  [inline, virtual] | 
Get the IPv4 InetAddress of the service.
 Note: This return null if the service IPv4 address cannot be resolved.
Implements javax.jmdns.ServiceInfo.
Definition at line 526 of file ServiceInfoImpl.java.
| Inet4Address [] javax.jmdns.impl.ServiceInfoImpl.getInet4Addresses | ( | ) |  [inline, virtual] | 
Returns a list of all IPv4 InetAddresses that can be used for this service.
In a multi-homed environment service info can be associated with more than one address.
Implements javax.jmdns.ServiceInfo.
Definition at line 558 of file ServiceInfoImpl.java.
| Inet6Address javax.jmdns.impl.ServiceInfoImpl.getInet6Address | ( | ) |  [inline, virtual] | 
Get the IPv6 InetAddress of the service.
 Note: This return null if the service IPv6 address cannot be resolved.
Implements javax.jmdns.ServiceInfo.
Definition at line 536 of file ServiceInfoImpl.java.
| Inet6Address [] javax.jmdns.impl.ServiceInfoImpl.getInet6Addresses | ( | ) |  [inline, virtual] | 
Returns a list of all IPv6 InetAddresses that can be used for this service.
In a multi-homed environment service info can be associated with more than one address.
Implements javax.jmdns.ServiceInfo.
Definition at line 567 of file ServiceInfoImpl.java.
| InetAddress javax.jmdns.impl.ServiceInfoImpl.getInetAddress | ( | ) |  [inline, virtual] | 
Get the InetAddress of the service. This will return the IPv4 if it exist, otherwise it return the IPv6 if set.
 Note: This return null if the service IP address cannot be resolved.
Implements javax.jmdns.ServiceInfo.
Definition at line 516 of file ServiceInfoImpl.java.
| InetAddress [] javax.jmdns.impl.ServiceInfoImpl.getInetAddresses | ( | ) |  [inline, virtual] | 
Returns a list of all InetAddresses that can be used for this service.
In a multi-homed environment service info can be associated with more than one address.
Implements javax.jmdns.ServiceInfo.
Definition at line 546 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getKey | ( | ) |  [inline, virtual] | 
The key is used to retrieve service info in hash tables.
 The key is the lower case qualified name.
Implements javax.jmdns.ServiceInfo.
Definition at line 410 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getName | ( | ) |  [inline, virtual] | 
Unqualified service instance name, such as foobar .
Implements javax.jmdns.ServiceInfo.
Definition at line 402 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getNiceTextString | ( | ) |  [inline, virtual] | 
Returns a description of the service info suitable for printing.
Implements javax.jmdns.ServiceInfo.
Definition at line 1167 of file ServiceInfoImpl.java.
| int javax.jmdns.impl.ServiceInfoImpl.getPort | ( | ) |  [inline, virtual] | 
Implements javax.jmdns.ServiceInfo.
Definition at line 575 of file ServiceInfoImpl.java.
| int javax.jmdns.impl.ServiceInfoImpl.getPriority | ( | ) |  [inline, virtual] | 
Implements javax.jmdns.ServiceInfo.
Definition at line 583 of file ServiceInfoImpl.java.
| synchronized Map<String, byte[]> javax.jmdns.impl.ServiceInfoImpl.getProperties | ( | ) |  [inline, package] | 
Definition at line 821 of file ServiceInfoImpl.java.
| synchronized byte [] javax.jmdns.impl.ServiceInfoImpl.getPropertyBytes | ( | String | name | ) |  [inline] | 
Definition at line 677 of file ServiceInfoImpl.java.
| Enumeration<String> javax.jmdns.impl.ServiceInfoImpl.getPropertyNames | ( | ) |  [inline, virtual] | 
Enumeration of the property names.
Implements javax.jmdns.ServiceInfo.
Definition at line 700 of file ServiceInfoImpl.java.
| synchronized String javax.jmdns.impl.ServiceInfoImpl.getPropertyString | ( | String | name | ) |  [inline] | 
Definition at line 685 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getProtocol | ( | ) |  [inline, virtual] | 
Returns the protocol of the service info suitable for printing.
Implements javax.jmdns.ServiceInfo.
Definition at line 726 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getQualifiedName | ( | ) |  [inline, virtual] | 
Fully qualified service name, such as foobar._http._tcp.local. .
Implements javax.jmdns.ServiceInfo.
Definition at line 432 of file ServiceInfoImpl.java.
| Map<Fields, String> javax.jmdns.impl.ServiceInfoImpl.getQualifiedNameMap | ( | ) |  [inline, virtual] | 
Returns a dictionary of the fully qualified name component of this service.
Implements javax.jmdns.ServiceInfo.
Definition at line 742 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getServer | ( | ) |  [inline, virtual] | 
Implements javax.jmdns.ServiceInfo.
Definition at line 447 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getSubtype | ( | ) |  [inline, virtual] | 
Returns the sub type of the service info suitable for printing.
Implements javax.jmdns.ServiceInfo.
Definition at line 734 of file ServiceInfoImpl.java.
| byte [] javax.jmdns.impl.ServiceInfoImpl.getTextBytes | ( | ) |  [inline, virtual] | 
Implements javax.jmdns.ServiceInfo.
Definition at line 599 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getTextString | ( | ) |  [inline, virtual] | 
Get the text for the service. This will interpret the text bytes as a UTF8 encoded string. Will return null if the bytes are not a valid UTF8 encoded string.
 Note: Do not use. This method make the assumption that the TXT record is one string. This is false. The TXT record is a series of key value pairs.
Implements javax.jmdns.ServiceInfo.
Definition at line 608 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getType | ( | ) |  [inline, virtual] | 
Fully qualified service type name, such as _http._tcp.local.
Implements javax.jmdns.ServiceInfo.
Definition at line 382 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getTypeWithSubtype | ( | ) |  [inline, virtual] | 
Fully qualified service type name with the subtype if appropriate, such as _printer._sub._http._tcp.local.
Implements javax.jmdns.ServiceInfo.
Definition at line 393 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getURL | ( | ) |  [inline, virtual] | 
Get the URL for this service. An http URL is created by combining the address, port, and path properties.
Implements javax.jmdns.ServiceInfo.
Definition at line 626 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.getURL | ( | String | protocol | ) |  [inline, virtual] | 
Get the URL for this service. An URL is created by combining the protocol, address, port, and path properties.
| protocol | requested protocol | 
Implements javax.jmdns.ServiceInfo.
Definition at line 645 of file ServiceInfoImpl.java.
| String [] javax.jmdns.impl.ServiceInfoImpl.getURLs | ( | ) |  [inline, virtual] | 
Get the list of URL for this service. An http URL is created by combining the address, port, and path properties.
Implements javax.jmdns.ServiceInfo.
Definition at line 635 of file ServiceInfoImpl.java.
| String [] javax.jmdns.impl.ServiceInfoImpl.getURLs | ( | String | protocol | ) |  [inline, virtual] | 
Get the list of URL for this service. An URL is created by combining the protocol, address, port, and path properties.
| protocol | requested protocol | 
Implements javax.jmdns.ServiceInfo.
Definition at line 655 of file ServiceInfoImpl.java.
| int javax.jmdns.impl.ServiceInfoImpl.getWeight | ( | ) |  [inline, virtual] | 
Implements javax.jmdns.ServiceInfo.
Definition at line 591 of file ServiceInfoImpl.java.
| synchronized boolean javax.jmdns.impl.ServiceInfoImpl.hasData | ( | ) |  [inline, virtual] | 
Returns true if the service info is filled with data.
true if the service info has data, false otherwise. Implements javax.jmdns.ServiceInfo.
Definition at line 1000 of file ServiceInfoImpl.java.
| int javax.jmdns.impl.ServiceInfoImpl.hashCode | ( | ) |  [inline] | 
Definition at line 1151 of file ServiceInfoImpl.java.
| final boolean javax.jmdns.impl.ServiceInfoImpl.hasInetAddress | ( | ) |  [inline, private] | 
Definition at line 1005 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isAnnounced | ( | ) |  [inline] | 
Returns true, if this is an announced state.
true if announced state, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1095 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isAnnouncing | ( | ) |  [inline] | 
Returns true, if this is an announcing state.
true if announcing state, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1087 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isAssociatedWithTask | ( | DNSTask | task, | 
| DNSState | state | ||
| ) |  [inline] | 
Checks if this object is associated with the task and in the same state.
| task | associated task | 
| state | state of the task | 
true is the task is associated with this object, false otherwise.Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1071 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isCanceled | ( | ) |  [inline] | 
Returns true, if this is a canceled state.
true if canceled state, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1111 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isCanceling | ( | ) |  [inline] | 
Returns true, if this is a canceling state.
true if canceling state, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1103 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isClosed | ( | ) |  [inline] | 
Returns true, if this is a closed state.
true if closed state, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1127 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isClosing | ( | ) |  [inline] | 
Returns true, if this is a closing state.
true if closing state, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1119 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isPersistent | ( | ) |  [inline, virtual] | 
Returns true if ServiceListener.resolveService will be called whenever new new information is received.
Implements javax.jmdns.ServiceInfo.
Definition at line 1345 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.isProbing | ( | ) |  [inline] | 
Returns true, if this is a probing state.
true if probing state, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1079 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.needTextAnnouncing | ( | ) |  [inline] | 
Definition at line 1363 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.readUTF | ( | byte | data[], | 
| int | off, | ||
| int | len | ||
| ) |  [inline, package] | 
Read data bytes as a UTF stream.
Definition at line 777 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.recoverState | ( | ) |  [inline] | 
Sets the state and notifies all objects that wait on the ServiceInfo.
true</code if the state was changed by this thread, false otherwise.Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1047 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.removeAssociationWithTask | ( | DNSTask | task | ) |  [inline] | 
Remove the association of the task with this Object.
| task | associated task | 
Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1055 of file ServiceInfoImpl.java.
| static String javax.jmdns.impl.ServiceInfoImpl.removeSeparators | ( | String | name | ) |  [inline, static, private] | 
Definition at line 361 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.revertState | ( | ) |  [inline] | 
Sets the state and notifies all objects that wait on the ServiceInfo.
true</code if the state was changed by this thread, false otherwise.  DNSState::revert()Implements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1023 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.setDelegate | ( | Delegate | delegate | ) |  [inline, package] | 
| delegate | the delegate to set | 
Definition at line 1378 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.setDns | ( | JmDNSImpl | dns | ) |  [inline] | 
Definition at line 1329 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.setName | ( | String | name | ) |  [inline, package] | 
Sets the service instance name.
| name | unqualified service instance name, such as foobar | 
Definition at line 423 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.setNeedTextAnnouncing | ( | boolean | needTextAnnouncing | ) |  [inline] | 
| needTextAnnouncing | the needTextAnnouncing to set | 
Definition at line 1353 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.setServer | ( | String | server | ) |  [inline, package] | 
| server | the server to set | 
Definition at line 455 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.setText | ( | byte[] | text | ) | throws IllegalStateException  [inline] | 
Definition at line 1263 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.setText | ( | Map< String,?> | props | ) | throws IllegalStateException  [inline] | 
Definition at line 1275 of file ServiceInfoImpl.java.
| static byte [] javax.jmdns.impl.ServiceInfoImpl.textFromProperties | ( | Map< String,?> | props | ) |  [inline, static, private] | 
Definition at line 1289 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl.toString | ( | ) |  [inline] | 
Definition at line 1207 of file ServiceInfoImpl.java.
| void javax.jmdns.impl.ServiceInfoImpl.updateRecord | ( | DNSCache | dnsCache, | 
| long | now, | ||
| DNSEntry | rec | ||
| ) |  [inline] | 
JmDNS callback to update a DNS record.
| dnsCache | |
| now | |
| rec | 
Implements javax.jmdns.impl.DNSListener.
Definition at line 871 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.waitForAnnounced | ( | long | timeout | ) |  [inline] | 
Waits for the object to be announced.
| timeout | the maximum time to wait in milliseconds. | 
true if the object is announced, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1135 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl.waitForCanceled | ( | long | timeout | ) |  [inline] | 
Waits for the object to be canceled.
| timeout | the maximum time to wait in milliseconds. | 
true if the object is canceled, false otherwiseImplements javax.jmdns.impl.DNSStatefulObject.
Definition at line 1143 of file ServiceInfoImpl.java.
| static void javax.jmdns.impl.ServiceInfoImpl.writeUTF | ( | OutputStream | out, | 
| String | str | ||
| ) | throws IOException  [inline, static, package] | 
Write a UTF string with a length to a stream.
Definition at line 756 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl._application  [private] | 
Definition at line 47 of file ServiceInfoImpl.java.
Definition at line 66 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl._domain  [private] | 
Definition at line 45 of file ServiceInfoImpl.java.
| final Set<Inet4Address> javax.jmdns.impl.ServiceInfoImpl._ipv4Addresses  [private] | 
Definition at line 56 of file ServiceInfoImpl.java.
| final Set<Inet6Address> javax.jmdns.impl.ServiceInfoImpl._ipv6Addresses  [private] | 
Definition at line 57 of file ServiceInfoImpl.java.
| transient String javax.jmdns.impl.ServiceInfoImpl._key  [private] | 
Definition at line 59 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl._name  [private] | 
Definition at line 48 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl._needTextAnnouncing  [private] | 
Definition at line 62 of file ServiceInfoImpl.java.
| boolean javax.jmdns.impl.ServiceInfoImpl._persistent  [private] | 
Definition at line 61 of file ServiceInfoImpl.java.
| int javax.jmdns.impl.ServiceInfoImpl._port  [private] | 
Definition at line 51 of file ServiceInfoImpl.java.
| int javax.jmdns.impl.ServiceInfoImpl._priority  [private] | 
Definition at line 53 of file ServiceInfoImpl.java.
| Map<String, byte[]> javax.jmdns.impl.ServiceInfoImpl._props  [private] | 
Definition at line 55 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl._protocol  [private] | 
Definition at line 46 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl._server  [private] | 
Definition at line 50 of file ServiceInfoImpl.java.
| final ServiceInfoState javax.jmdns.impl.ServiceInfoImpl._state  [private] | 
Definition at line 64 of file ServiceInfoImpl.java.
| String javax.jmdns.impl.ServiceInfoImpl._subtype  [private] | 
Definition at line 49 of file ServiceInfoImpl.java.
| byte javax.jmdns.impl.ServiceInfoImpl._text[]  [private] | 
Definition at line 54 of file ServiceInfoImpl.java.
| int javax.jmdns.impl.ServiceInfoImpl._weight  [private] | 
Definition at line 52 of file ServiceInfoImpl.java.
| Logger javax.jmdns.impl.ServiceInfoImpl.logger = Logger.getLogger(ServiceInfoImpl.class.getName())  [static, private] | 
Definition at line 43 of file ServiceInfoImpl.java.