public abstract class TcpServers
extends java.lang.Object
TcpServer instances more succinct.| Modifier | Constructor and Description |
|---|---|
protected |
TcpServers() |
| Modifier and Type | Method and Description |
|---|---|
static <IN,OUT> TcpServerSpec<IN,OUT> |
create(reactor.core.Environment env,
java.lang.Class<? extends TcpServer> serverImpl)
|
static <IN,OUT> TcpServerSpec<IN,OUT> |
create(reactor.core.Environment env,
java.lang.String dispatcher,
java.lang.Class<? extends TcpServer> serverImpl)
|
public static <IN,OUT> TcpServerSpec<IN,OUT> create(reactor.core.Environment env, @Nonnull java.lang.Class<? extends TcpServer> serverImpl)
IN - type of the inputOUT - type of the outputenv - the Environment to useserverImpl - the implementation of TcpServerTcpServerSpec to be further configuredpublic static <IN,OUT> TcpServerSpec<IN,OUT> create(reactor.core.Environment env, java.lang.String dispatcher, @Nonnull java.lang.Class<? extends TcpServer> serverImpl)
IN - type of the inputOUT - type of the outputenv - the Environment to usedispatcher - the type of dispatcher to useserverImpl - the implementation of TcpServerTcpServerSpec to be further configured