Lines Matching refs:service

45  * <p> The API currently supports DNS based service discovery and discovery is currently
46 * limited to a local network over Multicast DNS. DNS service discovery is described at
72 * | add service to list
80 * | remove service from list
85 * | Connect to a service
92 * Establish connection to service
99 * with service type "_http._tcp". A successful registration is notified with a callback to
104 * with a call to {@link #discoverServices}. A service found is notified with a callback
105 * to {@link DiscoveryListener#onServiceFound} and a service lost is notified on
114 * Applications can reserve for a service type at
115 * http://www.iana.org/form/ports-service. Existing services can be found at
116 * http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
128 * Broadcast intent action to indicate whether network service discovery is
139 * The lookup key for an int that indicates whether network service discovery is enabled
148 * Network service discovery is disabled
155 * Network service discovery is enabled
210 /** Dns based service discovery protocol */
229 * @param service the Binder interface
233 public NsdManager(Context context, INsdManager service) {
234 mService = service;
260 /** Interface for callback invocation for service discovery */
277 /** Interface for callback invocation for service registration */
289 /** Interface for callback invocation for service resolution */
443 * Register a service to be discovered by other services.
445 * <p> The function call immediately returns after sending a request to register service
450 * @param serviceInfo The service being registered
451 * @param protocolType The service discovery protocol
453 * unregister this service through a call on {@link #unregisterService}. Cannot be null.
475 * Unregister a service registered through {@link #registerService}. A successful
480 * {@link #registerService}. It identifies the service that should be unregistered
495 * Initiate service discovery to browse for instances of a service type. Service discovery
499 * <p> The function call immediately returns after sending a request to start service
504 * <p> Upon successful start, application is notified when a service is found with
505 * {@link DiscoveryListener#onServiceFound} or when a service is lost with
508 * <p> Upon failure to start, service discovery is not active and application does
511 * @param serviceType The service type being discovered. Examples include "_http._tcp" for
513 * @param protocolType The service discovery protocol
536 * Stop service discovery initiated with {@link #discoverServices}. An active service
538 * and it stays active until the application invokes a stop service discovery. A successful
541 * <p> Upon failure to stop service discovery, application is notified through
550 throw new IllegalArgumentException("service discovery not active on listener");
559 * Resolve a discovered service. An application can resolve a service right before
563 * @param serviceInfo service to be resolved
587 * an AsyncChannel communication with the service