public interface EventloopServer
AcceptCallback for handling accepting to this server.| Modifier and Type | Method and Description |
|---|---|
Stage<Void> |
close()
Closes the server.
|
Eventloop |
getEventloop() |
void |
listen()
Tells the NioServer to start listen on its port and hostname.
|
Eventloop getEventloop()
void listen()
throws IOException
IOException - if the socket can not be created.Copyright © 2019. All rights reserved.