public class VertxServer
extends io.grpc.Server
| 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) |
public VertxServer start() throws IOException
start in class io.grpc.ServerIOExceptionpublic VertxServer start(Handler<AsyncResult<Void>> completionHandler)
public VertxServer shutdown()
shutdown in class io.grpc.Serverpublic VertxServer shutdown(Handler<AsyncResult<Void>> completionHandler)
public int getPort()
getPort in class io.grpc.Serverpublic VertxServer shutdownNow()
shutdownNow in class io.grpc.Serverpublic boolean isShutdown()
isShutdown in class io.grpc.Serverpublic boolean isTerminated()
isTerminated in class io.grpc.Serverpublic boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in class io.grpc.ServerInterruptedExceptionpublic void awaitTermination()
throws InterruptedException
awaitTermination in class io.grpc.ServerInterruptedExceptionpublic io.grpc.Server getRawServer()
Copyright © 2021 Eclipse. All rights reserved.