blob: 80ac6d4802f8df7f9d97475843ff022e5e3c0cdb [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14.0.1) on Tue Jun 15 20:48:08 PDT 2021 -->
<title>DnsSdDiscoveryAdvertiser (Eclipse Communication Framework (ECF) 3.14.22 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="dc.created" content="2021-06-15">
<meta name="description" content="declaration: package: org.eclipse.ecf.provider.dnssd, class: DnsSdDiscoveryAdvertiser">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-declaration">
<script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DnsSdDiscoveryAdvertiser.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<div class="navListSearch"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="skipNav"><a id="skip.navbar.top">
<!-- -->
</a></div>
</nav>
</header>
<div class="flexContent">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.ecf.provider.dnssd</a></div>
<h1 title="Class DnsSdDiscoveryAdvertiser" class="title">Class DnsSdDiscoveryAdvertiser</h1>
</div>
<div class="contentContainer">
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a>
<div class="inheritance"><a href="../../core/AbstractContainer.html" title="class in org.eclipse.ecf.core">org.eclipse.ecf.core.AbstractContainer</a>
<div class="inheritance"><a href="../../discovery/AbstractDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.discovery">org.eclipse.ecf.discovery.AbstractDiscoveryContainerAdapter</a>
<div class="inheritance"><a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryContainerAdapter</a>
<div class="inheritance">org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryAdvertiser</div>
</div>
</div>
</div>
</div>
<section class="description">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>org.eclipse.core.runtime.IAdaptable</code>, <code><a href="../../core/IContainer.html" title="interface in org.eclipse.ecf.core">IContainer</a></code>, <code><a href="../../core/identity/IIdentifiable.html" title="interface in org.eclipse.ecf.core.identity">IIdentifiable</a></code>, <code><a href="../../discovery/IDiscoveryAdvertiser.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryAdvertiser</a></code>, <code><a href="../../discovery/IDiscoveryLocator.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryLocator</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">DnsSdDiscoveryAdvertiser</span>
extends <a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter</a></pre>
</section>
<section class="summary">
<ul class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<li class="blockList">
<section class="nestedClassSummary"><a id="nested.class.summary">
<!-- -->
</a>
<h2>Nested Class Summary</h2>
<div class="inheritedList">
<h2>Nested classes/interfaces inherited from class&nbsp;org.eclipse.ecf.provider.dnssd.<a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter</a></h2>
<a id="nested.classes.inherited.from.class.org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryContainerAdapter">
<!-- -->
</a><code><a href="DnsSdDiscoveryContainerAdapter.SRVRecordComparator.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter.SRVRecordComparator</a></code></div>
</section>
</li>
<!-- =========== FIELD SUMMARY =========== -->
<li class="blockList">
<section class="fieldSummary"><a id="field.summary">
<!-- -->
</a>
<h2>Field Summary</h2>
<div class="inheritedList">
<h3>Fields inherited from class&nbsp;org.eclipse.ecf.provider.dnssd.<a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter</a></h3>
<a id="fields.inherited.from.class.org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryContainerAdapter">
<!-- -->
</a><code><a href="DnsSdDiscoveryContainerAdapter.html#resolver">resolver</a>, <a href="DnsSdDiscoveryContainerAdapter.html#targetID">targetID</a></code></div>
<div class="inheritedList">
<h3>Fields inherited from class&nbsp;org.eclipse.ecf.discovery.<a href="../../discovery/AbstractDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.discovery">AbstractDiscoveryContainerAdapter</a></h3>
<a id="fields.inherited.from.class.org.eclipse.ecf.discovery.AbstractDiscoveryContainerAdapter">
<!-- -->
</a><code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html#allServiceListeners">allServiceListeners</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#serviceListeners">serviceListeners</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#servicesNamespaceName">servicesNamespaceName</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#serviceTypeListeners">serviceTypeListeners</a></code></div>
<div class="inheritedList">
<h3>Fields inherited from interface&nbsp;org.eclipse.ecf.discovery.<a href="../../discovery/IDiscoveryAdvertiser.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryAdvertiser</a></h3>
<a id="fields.inherited.from.class.org.eclipse.ecf.discovery.IDiscoveryAdvertiser">
<!-- -->
</a><code><a href="../../discovery/IDiscoveryAdvertiser.html#CONTAINER_NAME">CONTAINER_NAME</a></code></div>
<div class="inheritedList">
<h3>Fields inherited from interface&nbsp;org.eclipse.ecf.discovery.<a href="../../discovery/IDiscoveryLocator.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryLocator</a></h3>
<a id="fields.inherited.from.class.org.eclipse.ecf.discovery.IDiscoveryLocator">
<!-- -->
</a><code><a href="../../discovery/IDiscoveryLocator.html#CONTAINER_NAME">CONTAINER_NAME</a></code></div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li class="blockList">
<section class="constructorSummary"><a id="constructor.summary">
<!-- -->
</a>
<h2>Constructor Summary</h2>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">DnsSdDiscoveryAdvertiser</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connect(org.eclipse.ecf.core.identity.ID,org.eclipse.ecf.core.security.IConnectContext)">connect</a></span>&#8203;(<a href="../../core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</a>&nbsp;aTargetID,
<a href="../../core/security/IConnectContext.html" title="interface in org.eclipse.ecf.core.security">IConnectContext</a>&nbsp;connectContext)</code></th>
<td class="colLast">
<div class="block">Connect to a target remote process or process group.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAuthoritativeNameServer(org.xbill.DNS.Name)">getAuthoritativeNameServer</a></span>&#8203;(org.xbill.DNS.Name&nbsp;zone)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContainerName()">getContainerName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRegistrationDomains(org.eclipse.ecf.discovery.identity.IServiceTypeID)">getRegistrationDomains</a></span>&#8203;(<a href="../../discovery/identity/IServiceTypeID.html" title="interface in org.eclipse.ecf.discovery.identity">IServiceTypeID</a>&nbsp;aServiceTypeId)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getUpdateDomain(org.xbill.DNS.Name)">getUpdateDomain</a></span>&#8203;(org.xbill.DNS.Name&nbsp;zone)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code><a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#purgeCache()">purgeCache</a></span>()</code></th>
<td class="colLast">
<div class="block">Purges the underlying IServiceInfo cache if available in the current
provider</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#registerService(org.eclipse.ecf.discovery.IServiceInfo)">registerService</a></span>&#8203;(<a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>&nbsp;serviceInfo)</code></th>
<td class="colLast">
<div class="block">Register the given service.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendToServer(org.eclipse.ecf.discovery.IServiceInfo,boolean)">sendToServer</a></span>&#8203;(<a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>&nbsp;serviceInfo,
boolean&nbsp;mode)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unregisterAllServices()">unregisterAllServices</a></span>()</code></th>
<td class="colLast">
<div class="block">Unregister all previously registered service.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unregisterService(org.eclipse.ecf.discovery.IServiceInfo)">unregisterService</a></span>&#8203;(<a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>&nbsp;serviceInfo)</code></th>
<td class="colLast">
<div class="block">Unregister a previously registered service defined by serviceInfo.</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.eclipse.ecf.provider.dnssd.<a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter</a></h3>
<a id="methods.inherited.from.class.org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryContainerAdapter">
<!-- -->
</a><code><a href="DnsSdDiscoveryContainerAdapter.html#disconnect()">disconnect</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getBrowsingOrRegistrationDomains(org.eclipse.ecf.discovery.identity.IServiceTypeID,java.lang.String%5B%5D)">getBrowsingOrRegistrationDomains</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getConnectedID()">getConnectedID</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getRecords(org.eclipse.ecf.provider.dnssd.DnsSdServiceTypeID)">getRecords</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getSearchPath()">getSearchPath</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getServiceInfo(org.eclipse.ecf.discovery.identity.IServiceID)">getServiceInfo</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getServices()">getServices</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getServices(org.eclipse.ecf.discovery.identity.IServiceTypeID)">getServices</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getServiceTypes()">getServiceTypes</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getSRVRecord(org.xbill.DNS.Lookup,java.util.Comparator)">getSRVRecord</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getSRVRecords(org.xbill.DNS.Lookup%5B%5D)">getSRVRecords</a>, <a href="DnsSdDiscoveryContainerAdapter.html#getSRVRecords(org.xbill.DNS.Lookup%5B%5D,java.util.Comparator)">getSRVRecords</a>, <a href="DnsSdDiscoveryContainerAdapter.html#setResolver(java.lang.String)">setResolver</a>, <a href="DnsSdDiscoveryContainerAdapter.html#setSearchPath(java.lang.String%5B%5D)">setSearchPath</a>, <a href="DnsSdDiscoveryContainerAdapter.html#setTsigKey(java.lang.String,java.lang.String)">setTsigKey</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.eclipse.ecf.discovery.<a href="../../discovery/AbstractDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.discovery">AbstractDiscoveryContainerAdapter</a></h3>
<a id="methods.inherited.from.class.org.eclipse.ecf.discovery.AbstractDiscoveryContainerAdapter">
<!-- -->
</a><code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html#addServiceListener(org.eclipse.ecf.discovery.identity.IServiceTypeID,org.eclipse.ecf.discovery.IServiceListener)">addServiceListener</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#addServiceListener(org.eclipse.ecf.discovery.IServiceListener)">addServiceListener</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#addServiceTypeListener(org.eclipse.ecf.discovery.IServiceTypeListener)">addServiceTypeListener</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#clearListeners()">clearListeners</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#dispose()">dispose</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#fireServiceDiscovered(org.eclipse.ecf.discovery.IServiceEvent)">fireServiceDiscovered</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#fireServiceTypeDiscovered(org.eclipse.ecf.discovery.IServiceTypeEvent)">fireServiceTypeDiscovered</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#fireServiceUndiscovered(org.eclipse.ecf.discovery.IServiceEvent)">fireServiceUndiscovered</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getAsyncServiceInfo(org.eclipse.ecf.discovery.identity.IServiceID)">getAsyncServiceInfo</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getAsyncServices()">getAsyncServices</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getAsyncServices(org.eclipse.ecf.discovery.identity.IServiceTypeID)">getAsyncServices</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getAsyncServiceTypes()">getAsyncServiceTypes</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getConfig()">getConfig</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getConnectNamespace()">getConnectNamespace</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getID()">getID</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getListeners(org.eclipse.ecf.discovery.identity.IServiceTypeID)">getListeners</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getServiceEvent(org.eclipse.ecf.discovery.IServiceInfo,org.eclipse.ecf.core.identity.ID)">getServiceEvent</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getServicesNamespace()">getServicesNamespace</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#removeServiceListener(org.eclipse.ecf.discovery.identity.IServiceTypeID,org.eclipse.ecf.discovery.IServiceListener)">removeServiceListener</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#removeServiceListener(org.eclipse.ecf.discovery.IServiceListener)">removeServiceListener</a>, <a href="../../discovery/AbstractDiscoveryContainerAdapter.html#removeServiceTypeListener(org.eclipse.ecf.discovery.IServiceTypeListener)">removeServiceTypeListener</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.eclipse.ecf.core.<a href="../../core/AbstractContainer.html" title="class in org.eclipse.ecf.core">AbstractContainer</a></h3>
<a id="methods.inherited.from.class.org.eclipse.ecf.core.AbstractContainer">
<!-- -->
</a><code><a href="../../core/AbstractContainer.html#addListener(org.eclipse.ecf.core.IContainerListener)">addListener</a>, <a href="../../core/AbstractContainer.html#fireContainerEvent(org.eclipse.ecf.core.events.IContainerEvent)">fireContainerEvent</a>, <a href="../../core/AbstractContainer.html#getAdapter(java.lang.Class)">getAdapter</a>, <a href="../../core/AbstractContainer.html#getPasswordFromConnectContext(org.eclipse.ecf.core.security.IConnectContext)">getPasswordFromConnectContext</a>, <a href="../../core/AbstractContainer.html#removeListener(org.eclipse.ecf.core.IContainerListener)">removeListener</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li class="blockList">
<section class="constructorDetails"><a id="constructor.detail">
<!-- -->
</a>
<h2>Constructor Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;()">DnsSdDiscoveryAdvertiser</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">DnsSdDiscoveryAdvertiser</span>()</div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="registerService(org.eclipse.ecf.discovery.IServiceInfo)">registerService</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">registerService</span>&#8203;(<span class="arguments"><a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>&nbsp;serviceInfo)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../discovery/IDiscoveryAdvertiser.html#registerService(org.eclipse.ecf.discovery.IServiceInfo)">IDiscoveryAdvertiser</a></code></span></div>
<div class="block">Register the given service. This publishes the service defined by the
serviceInfo to the underlying publishing mechanism</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../discovery/IDiscoveryAdvertiser.html#registerService(org.eclipse.ecf.discovery.IServiceInfo)">registerService</a></code>&nbsp;in interface&nbsp;<code><a href="../../discovery/IDiscoveryAdvertiser.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryAdvertiser</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DnsSdDiscoveryContainerAdapter.html#registerService(org.eclipse.ecf.discovery.IServiceInfo)">registerService</a></code>&nbsp;in class&nbsp;<code><a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serviceInfo</code> - IServiceInfo of the service to be published. Must not be
<code>null</code>.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="unregisterService(org.eclipse.ecf.discovery.IServiceInfo)">unregisterService</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">unregisterService</span>&#8203;(<span class="arguments"><a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>&nbsp;serviceInfo)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../discovery/IDiscoveryAdvertiser.html#unregisterService(org.eclipse.ecf.discovery.IServiceInfo)">IDiscoveryAdvertiser</a></code></span></div>
<div class="block">Unregister a previously registered service defined by serviceInfo.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../discovery/IDiscoveryAdvertiser.html#unregisterService(org.eclipse.ecf.discovery.IServiceInfo)">unregisterService</a></code>&nbsp;in interface&nbsp;<code><a href="../../discovery/IDiscoveryAdvertiser.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryAdvertiser</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DnsSdDiscoveryContainerAdapter.html#unregisterService(org.eclipse.ecf.discovery.IServiceInfo)">unregisterService</a></code>&nbsp;in class&nbsp;<code><a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>serviceInfo</code> - IServiceInfo defining the service to unregister. Must not be
<code>null</code>.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="unregisterAllServices()">unregisterAllServices</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">unregisterAllServices</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../discovery/IDiscoveryAdvertiser.html#unregisterAllServices()">IDiscoveryAdvertiser</a></code></span></div>
<div class="block">Unregister all previously registered service.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../discovery/IDiscoveryAdvertiser.html#unregisterAllServices()">unregisterAllServices</a></code>&nbsp;in interface&nbsp;<code><a href="../../discovery/IDiscoveryAdvertiser.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryAdvertiser</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html#unregisterAllServices()">unregisterAllServices</a></code>&nbsp;in class&nbsp;<code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.discovery">AbstractDiscoveryContainerAdapter</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../discovery/IDiscoveryAdvertiser.html#unregisterAllServices()"><code>IDiscoveryAdvertiser.unregisterAllServices()</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="purgeCache()">purgeCache</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>[]</span>&nbsp;<span class="memberName">purgeCache</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../discovery/IDiscoveryLocator.html#purgeCache()">IDiscoveryLocator</a></code></span></div>
<div class="block">Purges the underlying IServiceInfo cache if available in the current
provider</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../discovery/IDiscoveryLocator.html#purgeCache()">purgeCache</a></code>&nbsp;in interface&nbsp;<code><a href="../../discovery/IDiscoveryLocator.html" title="interface in org.eclipse.ecf.discovery">IDiscoveryLocator</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html#purgeCache()">purgeCache</a></code>&nbsp;in class&nbsp;<code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.discovery">AbstractDiscoveryContainerAdapter</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The previous cache content</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../discovery/IDiscoveryLocator.html#purgeCache()"><code>IDiscoveryLocator.purgeCache()</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="connect(org.eclipse.ecf.core.identity.ID,org.eclipse.ecf.core.security.IConnectContext)">connect</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">connect</span>&#8203;(<span class="arguments"><a href="../../core/identity/ID.html" title="interface in org.eclipse.ecf.core.identity">ID</a>&nbsp;aTargetID,
<a href="../../core/security/IConnectContext.html" title="interface in org.eclipse.ecf.core.security">IConnectContext</a>&nbsp;connectContext)</span>
throws <span class="exceptions"><a href="../../core/ContainerConnectException.html" title="class in org.eclipse.ecf.core">ContainerConnectException</a></span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../core/IContainer.html#connect(org.eclipse.ecf.core.identity.ID,org.eclipse.ecf.core.security.IConnectContext)">IContainer</a></code></span></div>
<div class="block">Connect to a target remote process or process group. The target
identified by the first parameter (targetID) is connected the
implementation class. If authentication information is required, the
required information is given via via the second parameter
(connectContext).
Callers note that depending upon the provider implementation this method
may block. It is suggested that callers use a separate thread to call
this method.
This method provides an implementation independent way for container
implementations to connect, authenticate, and communicate with a remote
service or group of services. Providers are responsible for implementing
this operation in a way appropriate to the given remote service (or
group) via expected protocol.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../core/IContainer.html#connect(org.eclipse.ecf.core.identity.ID,org.eclipse.ecf.core.security.IConnectContext)">connect</a></code>&nbsp;in interface&nbsp;<code><a href="../../core/IContainer.html" title="interface in org.eclipse.ecf.core">IContainer</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="DnsSdDiscoveryContainerAdapter.html#connect(org.eclipse.ecf.core.identity.ID,org.eclipse.ecf.core.security.IConnectContext)">connect</a></code>&nbsp;in class&nbsp;<code><a href="DnsSdDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.provider.dnssd">DnsSdDiscoveryContainerAdapter</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aTargetID</code> - the ID of the remote server or group to connect to. See
<a href="../../core/IContainer.html#getConnectNamespace()"><code>IContainer.getConnectNamespace()</code></a> for a explanation of the
constraints upon this parameter.</dd>
<dd><code>connectContext</code> - any required context to allow this container to authenticate.
May be <code>null</code> if underlying provider does not
have any authentication requirements for connection.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../core/ContainerConnectException.html" title="class in org.eclipse.ecf.core">ContainerConnectException</a></code> - thrown if communication cannot be established with remote
service. Causes can include network connection failure,
authentication failure, server error, or if container is
already connected.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="sendToServer(org.eclipse.ecf.discovery.IServiceInfo,boolean)">sendToServer</a></h3>
<div class="memberSignature"><span class="modifiers">protected</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">sendToServer</span>&#8203;(<span class="arguments"><a href="../../discovery/IServiceInfo.html" title="interface in org.eclipse.ecf.discovery">IServiceInfo</a>&nbsp;serviceInfo,
boolean&nbsp;mode)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getUpdateDomain(org.xbill.DNS.Name)">getUpdateDomain</a></h3>
<div class="memberSignature"><span class="modifiers">protected</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></span>&nbsp;<span class="memberName">getUpdateDomain</span>&#8203;(<span class="arguments">org.xbill.DNS.Name&nbsp;zone)</span>
throws <span class="exceptions">org.xbill.DNS.TextParseException</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.xbill.DNS.TextParseException</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getAuthoritativeNameServer(org.xbill.DNS.Name)">getAuthoritativeNameServer</a></h3>
<div class="memberSignature"><span class="modifiers">protected</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></span>&nbsp;<span class="memberName">getAuthoritativeNameServer</span>&#8203;(<span class="arguments">org.xbill.DNS.Name&nbsp;zone)</span>
throws <span class="exceptions">org.xbill.DNS.TextParseException</span></div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.xbill.DNS.TextParseException</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getRegistrationDomains(org.eclipse.ecf.discovery.identity.IServiceTypeID)">getRegistrationDomains</a></h3>
<div class="memberSignature"><span class="modifiers">protected</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]</span>&nbsp;<span class="memberName">getRegistrationDomains</span>&#8203;(<span class="arguments"><a href="../../discovery/identity/IServiceTypeID.html" title="interface in org.eclipse.ecf.discovery.identity">IServiceTypeID</a>&nbsp;aServiceTypeId)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getContainerName()">getContainerName</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span>&nbsp;<span class="memberName">getContainerName</span>()</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html#getContainerName()">getContainerName</a></code>&nbsp;in class&nbsp;<code><a href="../../discovery/AbstractDiscoveryContainerAdapter.html" title="class in org.eclipse.ecf.discovery">AbstractDiscoveryContainerAdapter</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The name of this discovery container</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DnsSdDiscoveryAdvertiser.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2020 <a href="https://www.eclipse.org/">Eclipse Foundation</a>. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>