public final class BlockingSocketServer extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
BlockingSocketServer.AcceptHandler |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
stop() |
BlockingSocketServer |
withAcceptThreadFactory(ThreadFactory acceptThreadFactory) |
BlockingSocketServer |
withListenAddress(InetSocketAddress listenAddress) |
BlockingSocketServer |
withListenAddresses(InetSocketAddress... listenAddresses) |
BlockingSocketServer |
withListenAddresses(List<InetSocketAddress> listenAddresses) |
BlockingSocketServer |
withListenPort(int port) |
BlockingSocketServer |
withServerSocketSettings(ServerSocketSettings socketSettings) |
BlockingSocketServer |
withSocketSettings(SocketSettings socketSettings) |
public BlockingSocketServer withAcceptThreadFactory(ThreadFactory acceptThreadFactory)
public BlockingSocketServer withListenAddresses(List<InetSocketAddress> listenAddresses)
public BlockingSocketServer withListenAddresses(InetSocketAddress... listenAddresses)
public BlockingSocketServer withListenAddress(InetSocketAddress listenAddress)
public BlockingSocketServer withListenPort(int port)
public BlockingSocketServer withServerSocketSettings(ServerSocketSettings socketSettings)
public BlockingSocketServer withSocketSettings(SocketSettings socketSettings)
Copyright © 2019. All rights reserved.