public class MessageReceiveExecutor
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getHost() |
static MessageReceiveExecutor |
getInstance() |
int |
getPort() |
SerializeProtocol |
getSerializeProtocol() |
java.lang.String |
getServerAddress() |
MessageReceiveExecutor |
host(java.lang.String host) |
MessageReceiveExecutor |
port(int port) |
MessageReceiveExecutor |
serializeProtocol(SerializeProtocol serializeProtocol) |
void |
setHost(java.lang.String host) |
void |
setPort(int port) |
void |
setSerializeProtocol(SerializeProtocol serializeProtocol) |
void |
start() |
void |
stop() |
static void |
submit(java.util.concurrent.Callable<java.lang.Boolean> task,
io.netty.channel.ChannelHandlerContext ctx,
MessageRequest request,
MessageResponse response) |
public static MessageReceiveExecutor getInstance()
public static void submit(java.util.concurrent.Callable<java.lang.Boolean> task, io.netty.channel.ChannelHandlerContext ctx, MessageRequest request, MessageResponse response)
public void start()
public void stop()
public int getPort()
public void setPort(int port)
public MessageReceiveExecutor port(int port)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public MessageReceiveExecutor host(java.lang.String host)
public java.lang.String getServerAddress()
public SerializeProtocol getSerializeProtocol()
public void setSerializeProtocol(SerializeProtocol serializeProtocol)
public MessageReceiveExecutor serializeProtocol(SerializeProtocol serializeProtocol)