Uses of Class
javax.jmdns.ServiceInfo
-
Packages that use ServiceInfo Package Description javax.jmdns javax.jmdns.impl -
-
Uses of ServiceInfo in javax.jmdns
Methods in javax.jmdns that return ServiceInfo Modifier and Type Method Description ServiceInfo
ServiceInfo. clone()
static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, int port, int weight, int priority, boolean persistent, byte[] text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, int port, int weight, int priority, boolean persistent, java.lang.String text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, int port, int weight, int priority, boolean persistent, java.util.Map<java.lang.String,?> props)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, int port, int weight, int priority, byte[] text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, int port, int weight, int priority, java.lang.String text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, int port, int weight, int priority, java.util.Map<java.lang.String,?> props)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, int port, java.lang.String text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, java.lang.String subtype, int port, int weight, int priority, boolean persistent, byte[] text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, java.lang.String subtype, int port, int weight, int priority, boolean persistent, java.lang.String text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, java.lang.String subtype, int port, int weight, int priority, boolean persistent, java.util.Map<java.lang.String,?> props)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, java.lang.String subtype, int port, int weight, int priority, byte[] text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, java.lang.String subtype, int port, int weight, int priority, java.lang.String text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, java.lang.String subtype, int port, int weight, int priority, java.util.Map<java.lang.String,?> props)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.lang.String type, java.lang.String name, java.lang.String subtype, int port, java.lang.String text)
Construct a service description for registering with JmDNS.static ServiceInfo
ServiceInfo. create(java.util.Map<ServiceInfo.Fields,java.lang.String> qualifiedNameMap, int port, int weight, int priority, boolean persistent, java.util.Map<java.lang.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(java.lang.String type, java.lang.String name)
Get service information.abstract ServiceInfo
JmDNS. getServiceInfo(java.lang.String type, java.lang.String name, boolean persistent)
Get service information.abstract ServiceInfo
JmDNS. getServiceInfo(java.lang.String type, java.lang.String name, boolean persistent, long timeout)
Get service information.abstract ServiceInfo
JmDNS. getServiceInfo(java.lang.String type, java.lang.String name, long timeout)
Get service information.ServiceInfo[]
JmmDNS. getServiceInfos(java.lang.String type, java.lang.String name)
Get service information.ServiceInfo[]
JmmDNS. getServiceInfos(java.lang.String type, java.lang.String name, boolean persistent)
Get service information.ServiceInfo[]
JmmDNS. getServiceInfos(java.lang.String type, java.lang.String name, boolean persistent, long timeout)
Get service information.ServiceInfo[]
JmmDNS. getServiceInfos(java.lang.String type, java.lang.String name, long timeout)
Get service information.abstract ServiceInfo[]
JmDNS. list(java.lang.String type)
Returns a list of service infos of the specified type.abstract ServiceInfo[]
JmDNS. list(java.lang.String type, long timeout)
Returns a list of service infos of the specified type.ServiceInfo[]
JmmDNS. list(java.lang.String type)
Returns a list of service infos of the specified type.ServiceInfo[]
JmmDNS. list(java.lang.String type, long timeout)
Returns a list of service infos of the specified type.Methods in javax.jmdns with parameters of type ServiceInfo Modifier and Type Method Description abstract boolean
ServiceInfo. hasSameAddresses(ServiceInfo other)
Compare addresses of another ServiceInfoabstract 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.Method parameters in javax.jmdns with type arguments of type ServiceInfo Modifier and Type Method Description void
JmDNS.Delegate. cannotRecoverFromIOError(JmDNS dns, java.util.Collection<ServiceInfo> infos)
This method is called if JmDNS cannot recover from an I/O error. -
Uses of ServiceInfo in javax.jmdns.impl
Subclasses of ServiceInfo in javax.jmdns.impl Modifier and Type Class Description class
ServiceInfoImpl
JmDNS service information.Fields in javax.jmdns.impl declared as ServiceInfo Modifier and Type Field Description private ServiceInfo
ServiceEventImpl. _info
The service info record, or null if the service could be be resolved.Fields in javax.jmdns.impl with type parameters of type ServiceInfo Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.String,ServiceInfo>
ListenerStatus.ServiceListenerStatus. _addedServices
private java.util.concurrent.ConcurrentMap<java.lang.String,ServiceInfo>
JmDNSImpl.ServiceCollector. _infos
A set of collected service instance names.private java.util.concurrent.ConcurrentMap<java.lang.String,ServiceInfo>
JmDNSImpl. _services
This hashtable holds the services that have been registered.private java.util.concurrent.ConcurrentMap<java.lang.String,ServiceInfo>
JmmDNSImpl. _services
This enable the service info text update.Methods in javax.jmdns.impl that return ServiceInfo 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(java.lang.String type, java.lang.String name)
Get service information.ServiceInfo
JmDNSImpl. getServiceInfo(java.lang.String type, java.lang.String name, boolean persistent)
Get service information.ServiceInfo
JmDNSImpl. getServiceInfo(java.lang.String type, java.lang.String name, boolean persistent, long timeout)
Get service information.ServiceInfo
JmDNSImpl. getServiceInfo(java.lang.String type, java.lang.String name, long timeout)
Get service information.ServiceInfo[]
JmmDNSImpl. getServiceInfos(java.lang.String type, java.lang.String name)
ServiceInfo[]
JmmDNSImpl. getServiceInfos(java.lang.String type, java.lang.String name, boolean persistent)
ServiceInfo[]
JmmDNSImpl. getServiceInfos(java.lang.String type, java.lang.String name, boolean persistent, long timeout)
ServiceInfo[]
JmmDNSImpl. getServiceInfos(java.lang.String type, java.lang.String name, long timeout)
ServiceInfo[]
JmDNSImpl. list(java.lang.String type)
Returns a list of service infos of the specified type.ServiceInfo[]
JmDNSImpl. list(java.lang.String type, long timeout)
Returns a list of service infos of the specified type.ServiceInfo[]
JmDNSImpl.ServiceCollector. list(long timeout)
Returns an array of all service infos which have been collected by this ServiceCollector.ServiceInfo[]
JmmDNSImpl. list(java.lang.String type)
ServiceInfo[]
JmmDNSImpl. list(java.lang.String type, long timeout)
Methods in javax.jmdns.impl that return types with arguments of type ServiceInfo Modifier and Type Method Description java.util.Map<java.lang.String,ServiceInfo>
JmDNSImpl. getServices()
Methods in javax.jmdns.impl with parameters of type ServiceInfo Modifier and Type Method Description private static boolean
ListenerStatus.ServiceListenerStatus. _sameInfo(ServiceInfo info, ServiceInfo lastInfo)
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)
private void
JmDNSImpl. waitForInfoData(ServiceInfo info, long timeout)
Method parameters in javax.jmdns.impl with type arguments of type ServiceInfo Modifier and Type Method Description private void
JmDNSImpl. start(java.util.Collection<? extends ServiceInfo> serviceInfos)
Constructors in javax.jmdns.impl with parameters of type ServiceInfo Constructor Description ServiceEventImpl(JmDNSImpl jmDNS, java.lang.String type, java.lang.String name, ServiceInfo info)
Creates a new instance.ServiceInfoImpl(ServiceInfo info)
During recovery we need to duplicate service info to reregister them
-