public class VertxServer extends Server
| Modifier and Type | Method and Description |
|---|---|
void |
awaitTermination() |
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
int |
getPort() |
Server |
getRawServer() |
boolean |
isShutdown() |
boolean |
isTerminated() |
VertxServer |
shutdown() |
VertxServer |
shutdown(Handler<AsyncResult<Void>> completionHandler) |
VertxServer |
shutdownNow() |
VertxServer |
start() |
VertxServer |
start(Handler<AsyncResult<Void>> completionHandler) |
getImmutableServices, getListenSockets, getMutableServices, getServicespublic VertxServer start() throws IOException
start in class ServerIOExceptionpublic VertxServer start(Handler<AsyncResult<Void>> completionHandler)
public VertxServer shutdown()
public VertxServer shutdown(Handler<AsyncResult<Void>> completionHandler)
public VertxServer shutdownNow()
shutdownNow in class Serverpublic boolean isShutdown()
isShutdown in class Serverpublic boolean isTerminated()
isTerminated in class Serverpublic boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in class ServerInterruptedExceptionpublic void awaitTermination()
throws InterruptedException
awaitTermination in class ServerInterruptedExceptionpublic Server getRawServer()
Copyright © 2023 Eclipse. All rights reserved.