| Package | Description |
|---|---|
| javax.jmdns | |
| javax.jmdns.impl |
| Modifier and Type | Method | Description |
|---|---|---|
ServiceInfo |
ServiceInfo.clone() |
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
int port,
int weight,
int priority,
boolean persistent,
byte[] text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
int port,
int weight,
int priority,
boolean persistent,
String text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
int port,
int weight,
int priority,
boolean persistent,
Map<String,?> props) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
int port,
int weight,
int priority,
byte[] text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
int port,
int weight,
int priority,
String text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
int port,
int weight,
int priority,
Map<String,?> props) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
int port,
String text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
String subtype,
int port,
int weight,
int priority,
boolean persistent,
byte[] text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
String subtype,
int port,
int weight,
int priority,
boolean persistent,
String text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
String subtype,
int port,
int weight,
int priority,
boolean persistent,
Map<String,?> props) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
String subtype,
int port,
int weight,
int priority,
byte[] text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
String subtype,
int port,
int weight,
int priority,
String text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
String subtype,
int port,
int weight,
int priority,
Map<String,?> props) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(String type,
String name,
String subtype,
int port,
String text) |
Construct a service description for registering with JmDNS.
|
static ServiceInfo |
ServiceInfo.create(Map<ServiceInfo.Fields,String> qualifiedNameMap,
int port,
int weight,
int priority,
boolean persistent,
Map<String,?> props) |
Construct a service description for registering with JmDNS.
|
abstract ServiceInfo |
ServiceEvent.getInfo() |
Returns the service info record, or null if the service could not be resolved.
|
abstract ServiceInfo |
JmDNS.getServiceInfo(String type,
String name) |
Get service information.
|
abstract ServiceInfo |
JmDNS.getServiceInfo(String type,
String name,
boolean persistent) |
Get service information.
|
abstract ServiceInfo |
JmDNS.getServiceInfo(String type,
String name,
boolean persistent,
long timeout) |
Get service information.
|
abstract ServiceInfo |
JmDNS.getServiceInfo(String type,
String name,
long timeout) |
Get service information.
|
ServiceInfo[] |
JmmDNS.getServiceInfos(String type,
String name) |
Get service information.
|
ServiceInfo[] |
JmmDNS.getServiceInfos(String type,
String name,
boolean persistent) |
Get service information.
|
ServiceInfo[] |
JmmDNS.getServiceInfos(String type,
String name,
boolean persistent,
long timeout) |
Get service information.
|
ServiceInfo[] |
JmmDNS.getServiceInfos(String type,
String name,
long timeout) |
Get service information.
|
abstract ServiceInfo[] |
JmDNS.list(String type) |
Returns a list of service infos of the specified type.
|
abstract ServiceInfo[] |
JmDNS.list(String type,
long timeout) |
Returns a list of service infos of the specified type.
|
ServiceInfo[] |
JmmDNS.list(String type) |
Returns a list of service infos of the specified type.
|
ServiceInfo[] |
JmmDNS.list(String type,
long timeout) |
Returns a list of service infos of the specified type.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
ServiceInfo.hasSameAddresses(ServiceInfo other) |
Compare addresses of another ServiceInfo
|
abstract void |
JmDNS.registerService(ServiceInfo info) |
Register a service.
|
void |
JmmDNS.registerService(ServiceInfo info) |
Register a service.
|
abstract void |
JmDNS.unregisterService(ServiceInfo info) |
Unregister a service.
|
void |
JmmDNS.unregisterService(ServiceInfo info) |
Unregister a service.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
JmDNS.Delegate.cannotRecoverFromIOError(JmDNS dns,
Collection<ServiceInfo> infos) |
This method is called if JmDNS cannot recover from an I/O error.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
ServiceInfoImpl |
JmDNS service information.
|
| Modifier and Type | Method | Description |
|---|---|---|
ServiceInfo |
ServiceEventImpl.getInfo() |
|
ServiceInfo |
DNSRecord.Address.getServiceInfo(boolean persistent) |
|
ServiceInfo |
DNSRecord.getServiceInfo() |
Return a service information associated with that record if appropriate.
|
abstract ServiceInfo |
DNSRecord.getServiceInfo(boolean persistent) |
Return a service information associated with that record if appropriate.
|
ServiceInfo |
DNSRecord.HostInformation.getServiceInfo(boolean persistent) |
|
ServiceInfo |
DNSRecord.IPv4Address.getServiceInfo(boolean persistent) |
|
ServiceInfo |
DNSRecord.IPv6Address.getServiceInfo(boolean persistent) |
|
ServiceInfo |
DNSRecord.Pointer.getServiceInfo(boolean persistent) |
|
ServiceInfo |
DNSRecord.Service.getServiceInfo(boolean persistent) |
|
ServiceInfo |
DNSRecord.Text.getServiceInfo(boolean persistent) |
|
ServiceInfo |
JmDNSImpl.getServiceInfo(String type,
String name) |
Get service information.
|
ServiceInfo |
JmDNSImpl.getServiceInfo(String type,
String name,
boolean persistent) |
Get service information.
|
ServiceInfo |
JmDNSImpl.getServiceInfo(String type,
String name,
boolean persistent,
long timeout) |
Get service information.
|
ServiceInfo |
JmDNSImpl.getServiceInfo(String type,
String name,
long timeout) |
Get service information.
|
ServiceInfo[] |
JmmDNSImpl.getServiceInfos(String type,
String name) |
|
ServiceInfo[] |
JmmDNSImpl.getServiceInfos(String type,
String name,
boolean persistent) |
|
ServiceInfo[] |
JmmDNSImpl.getServiceInfos(String type,
String name,
boolean persistent,
long timeout) |
|
ServiceInfo[] |
JmmDNSImpl.getServiceInfos(String type,
String name,
long timeout) |
|
ServiceInfo[] |
JmDNSImpl.list(String type) |
Returns a list of service infos of the specified type.
|
ServiceInfo[] |
JmDNSImpl.list(String type,
long timeout) |
Returns a list of service infos of the specified type.
|
ServiceInfo[] |
JmmDNSImpl.list(String type) |
|
ServiceInfo[] |
JmmDNSImpl.list(String type,
long timeout) |
| Modifier and Type | Method | Description |
|---|---|---|
Map<String,ServiceInfo> |
JmDNSImpl.getServices() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
ServiceInfoImpl.hasSameAddresses(ServiceInfo other) |
|
void |
JmDNSImpl.registerService(ServiceInfo infoAbstract) |
Register a service.
|
void |
JmmDNSImpl.registerService(ServiceInfo info) |
|
void |
JmmDNSImpl.textValueUpdated(ServiceInfo target,
byte[] value) |
|
void |
ServiceInfoImpl.Delegate.textValueUpdated(ServiceInfo target,
byte[] value) |
|
void |
JmDNSImpl.unregisterService(ServiceInfo infoAbstract) |
Unregister a service.
|
void |
JmmDNSImpl.unregisterService(ServiceInfo info) |
| Constructor | Description |
|---|---|
ServiceEventImpl(JmDNSImpl jmDNS,
String type,
String name,
ServiceInfo info) |
Creates a new instance.
|
Copyright © 2002–2018 JmDNS. All rights reserved.