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