Package io.vertx.grpc
Class VertxServer
- java.lang.Object
-
- io.grpc.Server
-
- io.vertx.grpc.VertxServer
-
public class VertxServer extends Server
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidawaitTermination()booleanawaitTermination(long timeout, TimeUnit unit)intgetPort()ServergetRawServer()booleanisShutdown()booleanisTerminated()VertxServershutdown()VertxServershutdown(Completable<Void> completionHandler)VertxServershutdownNow()VertxServerstart()VertxServerstart(Completable<Void> completionHandler)-
Methods inherited from class io.grpc.Server
getImmutableServices, getListenSockets, getMutableServices, getServices
-
-
-
-
Method Detail
-
start
public VertxServer start() throws IOException
- Specified by:
startin classServer- Throws:
IOException
-
start
public VertxServer start(Completable<Void> completionHandler)
-
shutdown
public VertxServer shutdown()
-
shutdown
public VertxServer shutdown(Completable<Void> completionHandler)
-
shutdownNow
public VertxServer shutdownNow()
- Specified by:
shutdownNowin classServer
-
isShutdown
public boolean isShutdown()
- Specified by:
isShutdownin classServer
-
isTerminated
public boolean isTerminated()
- Specified by:
isTerminatedin classServer
-
awaitTermination
public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException- Specified by:
awaitTerminationin classServer- Throws:
InterruptedException
-
awaitTermination
public void awaitTermination() throws InterruptedException- Specified by:
awaitTerminationin classServer- Throws:
InterruptedException
-
getRawServer
public Server getRawServer()
-
-