io.vertx.grpc

## Class VertxServer

- java.lang.Object
- - io.grpc.Server
  - - io.vertx.grpc.VertxServer

-     public class VertxServer
      extends io.grpc.Server

  Author:
    Julien Viet

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `awaitTermination()`
    `boolean` | `awaitTermination(long timeout, TimeUnit unit)`
    `int` | `getPort()`
    `io.grpc.Server` | `getRawServer()`
    `boolean` | `isShutdown()`
    `boolean` | `isTerminated()`
    `VertxServer` | `shutdown()`
    `VertxServer` | `shutdown(Handler<AsyncResult<Void>> completionHandler)`
    `VertxServer` | `shutdownNow()`
    `VertxServer` | `start()`
    `VertxServer` | `start(Handler<AsyncResult<Void>> completionHandler)`

    - ### Methods inherited from class io.grpc.Server

      `getImmutableServices, getListenSockets, getMutableServices, getServices`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### start

          public VertxServer start()
                            throws IOException

      Specified by:
        `start` in class `io.grpc.Server`
      Throws:
        `IOException`

    - #### start

          public VertxServer start(Handler<AsyncResult<Void>> completionHandler)

    - #### shutdown

          public VertxServer shutdown()

      Specified by:
        `shutdown` in class `io.grpc.Server`

    - #### shutdown

          public VertxServer shutdown(Handler<AsyncResult<Void>> completionHandler)

    - #### getPort

          public int getPort()

      Overrides:
        `getPort` in class `io.grpc.Server`

    - #### shutdownNow

          public VertxServer shutdownNow()

      Specified by:
        `shutdownNow` in class `io.grpc.Server`

    - #### isShutdown

          public boolean isShutdown()

      Specified by:
        `isShutdown` in class `io.grpc.Server`

    - #### isTerminated

          public boolean isTerminated()

      Specified by:
        `isTerminated` in class `io.grpc.Server`

    - #### awaitTermination

          public boolean awaitTermination(long timeout,
                                          TimeUnit unit)
                                   throws InterruptedException

      Specified by:
        `awaitTermination` in class `io.grpc.Server`
      Throws:
        `InterruptedException`

    - #### awaitTermination

          public void awaitTermination()
                                throws InterruptedException

      Specified by:
        `awaitTermination` in class `io.grpc.Server`
      Throws:
        `InterruptedException`

    - #### getRawServer

          public io.grpc.Server getRawServer()

Copyright © 2021 Eclipse. All rights reserved.