bitcoin-s/api/verrpc/VersionerHandler$.html

29 lines
50 KiB
HTML
Raw Normal View History

<!DOCTYPE html ><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/><title></title><meta content="" name="description"/><meta content="" name="keywords"/><meta http-equiv="content-type" content="text/html; charset=UTF-8"/><link href="../lib/index.css" media="screen" type="text/css" rel="stylesheet"/><link href="../lib/template.css" media="screen" type="text/css" rel="stylesheet"/><link href="../lib/print.css" media="print" type="text/css" rel="stylesheet"/><link href="../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css"/><script type="text/javascript" src="../lib/jquery.min.js"></script><script type="text/javascript" src="../lib/index.js"></script><script type="text/javascript" src="../index.js"></script><script type="text/javascript" src="../lib/scheduler.js"></script><script type="text/javascript" src="../lib/template.js"></script><script type="text/javascript">/* this variable can be used by the JS to determine the path to the root document */
var toRoot = '../';</script></head><body><div id="search"><span id="doc-title"><span id="doc-version"></span></span> <span class="close-results"><span class="left">&lt;</span> Back</span><div id="textfilter"><span class="input"><input autocapitalize="none" placeholder="Search" id="index-input" type="text" accesskey="/"/><i class="clear material-icons"></i><i id="search-icon" class="material-icons"></i></span></div></div><div id="search-results"><div id="search-progress"><div id="progress-fill"></div></div><div id="results-content"><div id="entity-results"></div><div id="member-results"></div></div></div><div id="content-scroll-container" style="-webkit-overflow-scrolling: touch;"><div id="content-container" style="-webkit-overflow-scrolling: touch;"><div id="subpackage-spacer"><div id="packages"><h1>Packages</h1><ul><li class="indented0 " name="_root_.root" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="_root_" class="anchorToMember"></a><a id="root:_root_" class="anchorToMember"></a> <span class="permalink"><a href="../index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../index.html" title=""><span class="name">root</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="indented1 " name="_root_.verrpc" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="verrpc" class="anchorToMember"></a><a id="verrpc:verrpc" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="index.html" title=""><span class="name">verrpc</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="current-entities indented1"><span class="separator"></span> <a href="VerrpcProto$.html" title="" class="object"></a><a href="VerrpcProto$.html" title="">VerrpcProto</a></li><li class="current-entities indented1"><a href="Version$.html" title="" class="object"></a> <a href="Version.html" title="" class="class"></a><a href="Version.html" title="">Version</a></li><li class="current-entities indented1"><a href="VersionRequest$.html" title="" class="object"></a> <a href="VersionRequest.html" title="" class="class"></a><a href="VersionRequest.html" title="">VersionRequest</a></li><li class="current-entities indented1"><a href="Versioner$.html" title="" class="object"></a> <a href="Versioner.html" title="Versioner is a service that can be used to get information about the version and build information of the running daemon." class="trait"></a><a href="Versioner.html" title="Versioner is a service that can be used to get information about the version and build information of the running daemon.">Versioner</a></li><li class="current-entities indented1"><a href="VersionerClient$.html" title="" class="object"></a> <a href="VersionerClient.html" title="" class="trait"></a><a href="VersionerClient.html" title="">VersionerClient</a></li><li class="current-entities indented1"><span class="separator"></span> <a href="VersionerClientPowerApi.html" title="" class="trait"></a><a href="VersionerClientPowerApi.html" title="">VersionerClientPowerApi</a></li><li class="current-entities indented1"><span class="separator"></span> <a href="" title="" class="object"></a><a href="" title="">VersionerHandler</a></li></ul></div></div><div id="content"><body class="object value"><div id="definition"><div class="big-circle object">o</div><p id="owner"><a href="index.html" name="verrpc" id="verrpc" class="extype">verrpc</a></p><h1>VersionerHandler<span class="permalink"><a
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><div class="fullcomment"><div class="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
several services.</p><p>Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.
</p></div></div></li><li class="indented0 " name="verrpc.VersionerHandler#apply" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="apply(implementation:verrpc.Versioner,prefix:String)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=&gt;scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]" class="anchorToMember"></a><a id="apply(Versioner,String)(ClassicActorSystemProvider):(HttpRequest)=&gt;Future[HttpResponse]" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#apply(implementation:verrpc.Versioner,prefix:String)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=&gt;scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">apply</span><span class="params">(<span name="implementation">implementation: <a href="Versioner.html" name="verrpc.Versioner" id="verrpc.Versioner" class="extype">Versioner</a></span>, <span name="prefix">prefix: <span name="scala.Predef.String" class="extype">String</span></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="system">system: <a href="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider" name="org.apache.pekko.actor.ClassicActorSystemProvider" id="org.apache.pekko.actor.ClassicActorSystemProvider" class="extype">ClassicActorSystemProvider</a></span>)</span><span class="result">: (<a href="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest" name="org.apache.pekko.http.scaladsl.model.HttpRequest" id="org.apache.pekko.http.scaladsl.model.HttpRequest" class="extype">HttpRequest</a>) =&gt; <a href="https://www.scala-lang.org/api/2.13.16/scala/concurrent/Future.html#scala.concurrent.Future" name="scala.concurrent.Future" id="scala.concurrent.Future" class="extype">Future</a>[<a href="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse" name="org.apache.pekko.http.scaladsl.model.HttpResponse" id="org.apache.pekko.http.scaladsl.model.HttpResponse" class="extype">HttpResponse</a>]</span></span><p class="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><div class="fullcomment"><div class="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
several services.</p><p>Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.
</p></div></div></li><li class="indented0 " name="verrpc.VersionerHandler#apply" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="apply(implementation:verrpc.Versioner,eHandler:org.apache.pekko.actor.ActorSystem=&gt;PartialFunction[Throwable,org.apache.pekko.grpc.Trailers])(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=&gt;scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]" class="anchorToMember"></a><a id="apply(Versioner,(ActorSystem)=&gt;PartialFunction[Throwable,Trailers])(ClassicActorSystemProvider):(HttpRequest)=&gt;Future[HttpResponse]" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#apply(implementation:verrpc.Versioner,eHandler:org.apache.pekko.actor.ActorSystem=&gt;PartialFunction[Throwable,org.apache.pekko.grpc.Trailers])(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=&gt;scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">apply</span><span class="params">(<span name="implementation">implementation: <a href="Versioner.html" name="verrpc.Versioner" id="verrpc.Versioner" class="extype">Versioner</a></span>, <span name="eHandler">eHandler: (<a href="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ActorSystem.html#org.apache.pekko.actor.ActorSystem" name="org.apache.pekko.actor.ActorSystem" id="org.apache.pekko.actor.ActorSystem" class="extype">ActorSystem</a>) =&gt; <a href="https://www.scala-lang.org/api/2.13.16/scala/PartialFunction.html#scala.PartialFunction" name="scala.PartialFunction" id="scala.PartialFunction" class="extype">PartialFunction</a>[<a href="../scala/index.html#Throwable=Throwable" name="scala.Throwable" id="scala.Throwable" class="extmbr">Throwable</a>, <a href="https://pekko.apache.org/api/pekko-grpc/1.1.1/org/apache/pekko/grpc/org/apache/pekko/grpc/Trailers.html#org.apache.pekko.grpc.Trailers" name="org.apache.pekko.grpc.Trailers" id="org.apache.pekko.grpc.Trailers" class="extype">Trailers</a>]</span>)</span><span class="params">(<span class="implicit">implicit </span><span name="system">system: <a href="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider" name="org.apache.pekko.actor.ClassicActorSystemProvider" id="org.apache.pekko.actor.ClassicActorSystemProvider" class="extype">ClassicActorSystemProvider</a></span>)</span><span class="result">: (<a href="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest" name="org.apache.pekko.http.scaladsl.model.HttpRequest" id="org.apache.pekko.http.scaladsl.model.HttpRequest" class="extype">HttpRequest</a>) =&gt; <a href="https://www.scala-lang.org/api/2.13.16/scala/concurrent/Future.html#scala.concurrent.Future" name="scala.concurrent.Future" id="scala.concurrent.Future" class="extype">Future</a>[<a href="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse" name="org.apache.pekko.http.scaladsl.model.HttpResponse" id="org.apache.pekko.http.scaladsl.model.HttpResponse" class="extype">HttpResponse</a>]</span></span><p class="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><div class="fullcomment"><div class="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
several services.
</p></div></div></li><li class="indented0 " name="verrpc.VersionerHandler#apply" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="apply(implementation:verrpc.Versioner)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=&gt;scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]" class="anchorToMember"></a><a id="apply(Versioner)(ClassicActorSystemProvider):(HttpRequest)=&gt;Future[HttpResponse]" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#apply(implementation:verrpc.Versioner)(implicitsystem:org.apache.pekko.actor.ClassicActorSystemProvider):org.apache.pekko.http.scaladsl.model.HttpRequest=&gt;scala.concurrent.Future[org.apache.pekko.http.scaladsl.model.HttpResponse]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">apply</span><span class="params">(<span name="implementation">implementation: <a href="Versioner.html" name="verrpc.Versioner" id="verrpc.Versioner" class="extype">Versioner</a></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="system">system: <a href="https://pekko.apache.org/api/pekko/1.1.3/org/apache/pekko/actor/ClassicActorSystemProvider.html#org.apache.pekko.actor.ClassicActorSystemProvider" name="org.apache.pekko.actor.ClassicActorSystemProvider" id="org.apache.pekko.actor.ClassicActorSystemProvider" class="extype">ClassicActorSystemProvider</a></span>)</span><span class="result">: (<a href="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpRequest.html#org.apache.pekko.http.scaladsl.model.HttpRequest" name="org.apache.pekko.http.scaladsl.model.HttpRequest" id="org.apache.pekko.http.scaladsl.model.HttpRequest" class="extype">HttpRequest</a>) =&gt; <a href="https://www.scala-lang.org/api/2.13.16/scala/concurrent/Future.html#scala.concurrent.Future" name="scala.concurrent.Future" id="scala.concurrent.Future" class="extype">Future</a>[<a href="https://pekko.apache.org/api/pekko-http/1.1.0/org/apache/pekko/http/scaladsl/model/HttpResponse.html#org.apache.pekko.http.scaladsl.model.HttpResponse" name="org.apache.pekko.http.scaladsl.model.HttpResponse" id="org.apache.pekko.http.scaladsl.model.HttpResponse" class="extype">HttpResponse</a>]</span></span><p class="shortcomment cmt">Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><div class="fullcomment"><div class="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
several services.
</p></div></div></li><li class="indented0 " name="scala.Any#asInstanceOf" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="asInstanceOf[T0]:T0" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#asInstanceOf[T0]:T0" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span name="scala.Any.asInstanceOf.T0" class="extype">T0</span></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#clone" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="prt"><a id="clone():Object" class="anchorToMember"></a><a id="clone():AnyRef" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#clone():Object" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">clone</span><span class="params">()</span><span class="result">: <a href="../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Attributes</dt><dd>protected[<span name="java.lang" class="extype">lang</span>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="defval">classOf[java.lang.CloneNotSupportedException]</span></span>)</span> <span class="name">@native</span><span class="args">()</span> </dd></dl></div></li><li class="indented0 " name="scala.AnyRef#eq" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="eq(x$1:AnyRef):Boolean" class="anchorToMember"></a><a id="eq(AnyRef):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#eq(x$1:AnyRef):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">eq</span><span class="params">(<span name="arg0">arg0: <a href="../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.16/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#equals" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="equals(x$1:Object):Boolean" class="anchorToMember"></a><a id="equals(AnyRef):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#equals(x$1:Object):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">equals</span><span class="params">(<span name="arg0">arg0: <a href="../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.16/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#finalize" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="prt"><a id="finalize():Unit" class="anchorToMember"></a> <span class="pe
services with <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> and then used in for example
<code>Http().bindAndHandleAsync</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Creates a partial <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be combined with handlers of other
services with <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> and then used in for example
<code>Http().bindAndHandleAsync</code>.</p><p>Use <code>VersionerHandler.apply</code> if the server is only handling one service.</p><p>Registering a gRPC service under a custom prefix is not widely supported and strongly discouraged by the specification.
</p></div></div></li><li class="indented0 " name="scala.AnyRef#synchronized" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="synchronized[T0](x$1:=&gt;T0):T0" class="anchorToMember"></a><a id="synchronized[T0](=&gt;T0):T0" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#synchronized[T0](x$1:=&gt;T0):T0" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">synchronized</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: =&gt; <span name="java.lang.AnyRef.synchronized.T0" class="extype">T0</span></span>)</span><span class="result">: <span name="java.lang.AnyRef.synchronized.T0" class="extype">T0</span></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#toString" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="toString():String" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#toString():String" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">toString</span><span class="params">()</span><span class="result">: <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#java.lang.String" name="java.lang.String" id="java.lang.String" class="extype">String</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#wait" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="wait():Unit" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#wait():Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">wait</span><span class="params">()</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.16/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="defval">classOf[java.lang.InterruptedException]</span></span>)</span> </dd></dl></div></li><li class="indented0 " name="scala.AnyRef#wait" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="wait(x$1:Long,x$2:Int):Unit" class="anchorToMember"></a><a id="wait(Long,Int):Unit" class="anchorToMember"></a> <span class="permalink"><a href="../verrpc/VersionerHandler$.html#wait(x$1:Long,x$2:Int):Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">wait</span><span class="params">(<span name="arg0">arg0: <a href="https://www.scala-lang.org/api/2.13.16/scala/Long.html#scala.Long" name="scala.Long" id="scala.Long" class="extype">Long</a></span>, <span name="arg1">arg1: <a href="https://www.scala-lang.org/api/2.13.16/scala/Int.html#scala.Int" name="scala.Int" id="scala.Int" class="extype">Int</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.16/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="defval">classOf[java.lang.InterruptedException]</span></sp
for the generated partial function handler.</p><div class="fullcomment"><div class="comment cmt"><p>Creates a <code>HttpRequest</code> to <code>HttpResponse</code> handler that can be used in for example <code>Http().bindAndHandleAsync</code>
for the generated partial function handler. The generated handler falls back to a reflection handler for
<code>Versioner</code> and ends with <code>StatusCodes.NotFound</code> if the request is not matching.</p><p>Use <code>org.apache.pekko.grpc.scaladsl.ServiceHandler.concatOrNotFound</code> with <code>VersionerHandler.partial</code> when combining
several services.
</p></div></div></li></ol></div></div><div id="inheritedMembers"><div name="scala.AnyRef" class="parent"><h3>Inherited from <a href="../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></h3></div><div name="scala.Any" class="parent"><h3>Inherited from <a href="https://www.scala-lang.org/api/2.13.16/scala/Any.html#scala.Any" name="scala.Any" id="scala.Any" class="extype">Any</a></h3></div></div><div id="groupedMembers"><div name="Ungrouped" class="group"><h3>Ungrouped</h3></div></div></div><div id="tooltip"></div><div id="footer"></div></body></div></div></div></body></html>