Uses of Class
javax.jmdns.ServiceInfo
Packages that use ServiceInfo
-
Uses of ServiceInfo in javax.jmdns
Methods in javax.jmdns that return ServiceInfoModifier and TypeMethodDescriptionServiceInfo.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
Construct a service description for registering with JmDNS.static ServiceInfo
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
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
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.JmmDNS.getServiceInfos
(String type, String name) Get service information.JmmDNS.getServiceInfos
(String type, String name, boolean persistent) Get service information.JmmDNS.getServiceInfos
(String type, String name, boolean persistent, long timeout) Get service information.JmmDNS.getServiceInfos
(String type, String name, long timeout) Get service information.abstract ServiceInfo[]
Returns a list of service infos of the specified type.abstract ServiceInfo[]
Returns a list of service infos of the specified type.Returns a list of service infos of the specified type.Returns a list of service infos of the specified type.Methods in javax.jmdns with parameters of type ServiceInfoModifier and TypeMethodDescriptionabstract 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 ServiceInfoModifier and TypeMethodDescriptionvoid
JmDNS.Delegate.cannotRecoverFromIOError
(JmDNS dns, 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.implFields in javax.jmdns.impl declared as ServiceInfoModifier and TypeFieldDescriptionprivate final 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 ServiceInfoModifier and TypeFieldDescriptionprivate final ConcurrentMap
<String, ServiceInfo> ListenerStatus.ServiceListenerStatus._addedServices
private final ConcurrentMap
<String, ServiceInfo> JmDNSImpl.ServiceCollector._infos
A set of collected service instance names.private final ConcurrentMap
<String, ServiceInfo> JmDNSImpl._services
This hashtable holds the services that have been registered.private final ConcurrentMap
<String, ServiceInfo> JmmDNSImpl._services
This enable the service info text update.Methods in javax.jmdns.impl that return ServiceInfoModifier and TypeMethodDescriptionServiceEventImpl.getInfo()
DNSRecord.Address.getServiceInfo
(boolean persistent) 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.DNSRecord.HostInformation.getServiceInfo
(boolean persistent) DNSRecord.IPv4Address.getServiceInfo
(boolean persistent) DNSRecord.IPv6Address.getServiceInfo
(boolean persistent) DNSRecord.Pointer.getServiceInfo
(boolean persistent) DNSRecord.Service.getServiceInfo
(boolean persistent) DNSRecord.Text.getServiceInfo
(boolean persistent) JmDNSImpl.getServiceInfo
(String type, String name) Get service information.JmDNSImpl.getServiceInfo
(String type, String name, boolean persistent) Get service information.JmDNSImpl.getServiceInfo
(String type, String name, boolean persistent, long timeout) Get service information.JmDNSImpl.getServiceInfo
(String type, String name, long timeout) Get service information.JmmDNSImpl.getServiceInfos
(String type, String name) JmmDNSImpl.getServiceInfos
(String type, String name, boolean persistent) JmmDNSImpl.getServiceInfos
(String type, String name, boolean persistent, long timeout) JmmDNSImpl.getServiceInfos
(String type, String name, long timeout) Returns a list of service infos of the specified type.Returns a list of service infos of the specified type.JmDNSImpl.ServiceCollector.list
(long timeout) Returns an array of all service infos which have been collected by this ServiceCollector.Methods in javax.jmdns.impl that return types with arguments of type ServiceInfoMethods in javax.jmdns.impl with parameters of type ServiceInfoModifier and TypeMethodDescriptionprivate static final 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 ServiceInfoModifier and TypeMethodDescriptionprivate void
JmDNSImpl.start
(Collection<? extends ServiceInfo> serviceInfos) Constructors in javax.jmdns.impl with parameters of type ServiceInfoModifierConstructorDescriptionServiceEventImpl
(JmDNSImpl jmDNS, String type, String name, ServiceInfo info) Creates a new instance.(package private)
ServiceInfoImpl
(ServiceInfo info) During recovery we need to duplicate service info to reregister them