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 ServiceInfoServiceInfo.create(String type, String name, int port, int weight, int priority, boolean persistent, byte[] text) Construct a service description for registering with JmDNS.static ServiceInfoServiceInfo.create(String type, String name, int port, int weight, int priority, boolean persistent, String text) Construct a service description for registering with JmDNS.static ServiceInfoServiceInfo.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 ServiceInfoConstruct a service description for registering with JmDNS.static ServiceInfoConstruct a service description for registering with JmDNS.static ServiceInfoServiceInfo.create(String type, String name, int port, int weight, int priority, Map<String, ?> props) Construct a service description for registering with JmDNS.static ServiceInfoConstruct a service description for registering with JmDNS.static ServiceInfoServiceInfo.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 ServiceInfoServiceInfo.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 ServiceInfoServiceInfo.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 ServiceInfoServiceInfo.create(String type, String name, String subtype, int port, int weight, int priority, byte[] text) Construct a service description for registering with JmDNS.static ServiceInfoServiceInfo.create(String type, String name, String subtype, int port, int weight, int priority, String text) Construct a service description for registering with JmDNS.static ServiceInfoServiceInfo.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 ServiceInfoConstruct a service description for registering with JmDNS.static ServiceInfoServiceInfo.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 ServiceInfoServiceEvent.getInfo()Returns the service info record, or null if the service could not be resolved.abstract ServiceInfoJmDNS.getServiceInfo(String type, String name) Get service information.abstract ServiceInfoJmDNS.getServiceInfo(String type, String name, boolean persistent) Get service information.abstract ServiceInfoJmDNS.getServiceInfo(String type, String name, boolean persistent, long timeout) Get service information.abstract ServiceInfoJmDNS.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 booleanServiceInfo.hasSameAddresses(ServiceInfo other) Compare addresses of another ServiceInfoabstract voidJmDNS.registerService(ServiceInfo info) Register a service.voidJmmDNS.registerService(ServiceInfo info) Register a service.abstract voidJmDNS.unregisterService(ServiceInfo info) Unregister a service.voidJmmDNS.unregisterService(ServiceInfo info) Unregister a service.Method parameters in javax.jmdns with type arguments of type ServiceInfoModifier and TypeMethodDescriptionvoidJmDNS.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 ServiceInfoServiceEventImpl._infoThe 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._addedServicesprivate final ConcurrentMap<String, ServiceInfo> JmDNSImpl.ServiceCollector._infosA set of collected service instance names.private final ConcurrentMap<String, ServiceInfo> JmDNSImpl._servicesThis hashtable holds the services that have been registered.private final ConcurrentMap<String, ServiceInfo> JmmDNSImpl._servicesThis 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 ServiceInfoDNSRecord.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 booleanListenerStatus.ServiceListenerStatus._sameInfo(ServiceInfo info, ServiceInfo lastInfo) booleanServiceInfoImpl.hasSameAddresses(ServiceInfo other) voidJmDNSImpl.registerService(ServiceInfo infoAbstract) Register a service.voidJmmDNSImpl.registerService(ServiceInfo info) voidJmmDNSImpl.textValueUpdated(ServiceInfo target, byte[] value) voidServiceInfoImpl.Delegate.textValueUpdated(ServiceInfo target, byte[] value) voidJmDNSImpl.unregisterService(ServiceInfo infoAbstract) Unregister a service.voidJmmDNSImpl.unregisterService(ServiceInfo info) private voidJmDNSImpl.waitForInfoData(ServiceInfo info, long timeout) Method parameters in javax.jmdns.impl with type arguments of type ServiceInfoModifier and TypeMethodDescriptionprivate voidJmDNSImpl.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