js-waku/interfaces/_waku_interfaces.RelayNode....

12 lines
42 KiB
HTML
Raw Normal View History

2024-01-17 18:58:38 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RelayNode | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">Documentation</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">Documentation</a></li><li><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li><li><a href="_waku_interfaces.RelayNode.html">RelayNode</a></li></ul><h1>Interface RelayNode</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">RelayNode </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><a class="tsd-kind-property" href="_waku_interfaces.RelayNode.html#connectionManager">connectionManager</a><span class="tsd-signature-symbol">: </span><a href="_waku_interfaces.IConnectionManager.html" class="tsd-signature-type tsd-kind-interface">IConnectionManager</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="_waku_interfaces.RelayNode.html#filter">filter</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="_waku_interfaces.RelayNode.html#libp2p">libp2p</a><span class="tsd-signature-symbol">: </span><a href="../types/_waku_interfaces.Libp2p.html" class="tsd-signature-type tsd-kind-type-alias">Libp2p</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="_waku_interfaces.RelayNode.html#lightPush">lightPush</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="_waku_interfaces.RelayNode.html#relay">relay</a><span class="tsd-signature-symbol">: </span><a href="../types/_waku_interfaces.IRelay.html" class="tsd-signature-type tsd-kind-type-alias">IRelay</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-property" href="_waku_interfaces.RelayNode.html#store">store</a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><a class="tsd-kind-call-signature" href="_waku_interfaces.RelayNode.html#dial.dial-1">dial</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">peer</span>, <span class="tsd-kind-p
2023-09-21 08:59:21 +00:00
<a href="_waku_interfaces.RelayNode.html#filter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>filter</span></a>
<a href="_waku_interfaces.RelayNode.html#libp2p" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>libp2p</span></a>
<a href="_waku_interfaces.RelayNode.html#lightPush" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>light<wbr/>Push</span></a>
<a href="_waku_interfaces.RelayNode.html#relay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>relay</span></a>
<a href="_waku_interfaces.RelayNode.html#store" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>store</span></a>
2023-11-28 15:58:49 +00:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="_waku_interfaces.RelayNode.html#dial" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>dial</span></a>
2023-11-27 11:46:51 +00:00
<a href="_waku_interfaces.RelayNode.html#isConnected" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Connected</span></a>
2023-09-21 08:59:21 +00:00
<a href="_waku_interfaces.RelayNode.html#isStarted" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>is<wbr/>Started</span></a>
<a href="_waku_interfaces.RelayNode.html#start" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>start</span></a>
<a href="_waku_interfaces.RelayNode.html#stop" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>stop</span></a>
2024-01-17 18:58:38 +00:00
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-inherited"><a id="connectionManager" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>connection<wbr/>Manager</span><a href="#connectionManager" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">connection<wbr/>Manager</span><span class="tsd-signature-symbol">:</span> <a href="_waku_interfaces.IConnectionManager.html" class="tsd-signature-type tsd-kind-interface">IConnectionManager</a></div><aside class="tsd-sources"><p>Inherited from <a href="_waku_interfaces.Waku.html">Waku</a>.<a href="_waku_interfaces.Waku.html#connectionManager">connectionManager</a></p><ul><li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2e6d9836b/packages/interfaces/src/waku.ts#L20">packages/interfaces/src/waku.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="filter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>filter</span><a href="#filter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">filter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources"><p>Overrides <a href="_waku_interfaces.Waku.html">Waku</a>.<a href="_waku_interfaces.Waku.html#filter">filter</a></p><ul><li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2e6d9836b/packages/interfaces/src/waku.ts#L43">packages/interfaces/src/waku.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="libp2p" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>libp2p</span><a href="#libp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">libp2p</span><span class="tsd-signature-symbol">:</span> <a href="../types/_waku_interfaces.Libp2p.html" class="tsd-signature-type tsd-kind-type-alias">Libp2p</a></div><aside class="tsd-sources"><p>Inherited from <a href="_waku_interfaces.Waku.html">Waku</a>.<a href="_waku_interfaces.Waku.html#libp2p">libp2p</a></p><ul><li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2e6d9836b/packages/interfaces/src/waku.ts#L14">packages/interfaces/src/waku.ts:14</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="lightPush" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>light<wbr/>Push</span><a href="#lightPush" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">light<wbr/>Push</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources"><p>Overrides <a href="_waku_interfaces.Waku.html">Waku</a>.<a href="_waku_interfaces.Waku.html#lightPush">lightPush</a></p><ul><li>Defined in <a href="https://github.com/waku-org/js-waku/blob/2e6d9836b/packages/interfaces/src/waku.ts#L44">packages/interfaces/src/waku.ts:44</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="relay" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>relay</span><a href="#relay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">relay</span><span class="tsd-signature-symbol">:</span> <a href="../types/_waku_interfaces.IRelay.html" class="tsd-signature-type tsd-kind-type-alias">IRelay</a></div><aside class="tsd-sources"><p>Overrides <a href="_waku_interfaces.Waku.html">Waku</a>.<a href="_waku_interfaces.Waku.html#relay">relay</a></p><ul><li>Defined in <a href="https://github.com/w