Package io.activej.net
Interface WorkerServer
- All Superinterfaces:
io.activej.reactor.NioReactive,io.activej.reactor.Reactive
- All Known Implementing Classes:
AbstractReactiveServer,PrimaryServer,SimpleServer
public interface WorkerServer
extends io.activej.reactor.NioReactive
This is an interface for a server that can be used in a
PrimaryServer.
It should be reactive and should be able to accept and manage client connections.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoAccept(SocketChannel socketChannel, InetSocketAddress localAddress, InetSocketAddress remoteAddress, boolean ssl, io.activej.reactor.net.SocketSettings socketSettings) Methods inherited from interface io.activej.reactor.NioReactive
getReactor
-
Method Details
-
doAccept
void doAccept(SocketChannel socketChannel, InetSocketAddress localAddress, InetSocketAddress remoteAddress, boolean ssl, io.activej.reactor.net.SocketSettings socketSettings)
-