public class TcpMeta extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.netty.channel.ChannelHandler |
stringDecoder |
static org.jboss.netty.channel.ChannelHandler |
stringEncoder |
| Constructor and Description |
|---|
TcpMeta() |
TcpMeta(String command,
int tcpPort,
int tcpConnectTimeoutMillis,
int tcpIdleTimeoutSec,
org.jboss.netty.channel.ChannelFactory channelFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.netty.channel.ChannelFactory |
getChannelFactory() |
String |
getCommand() |
int |
getTcpConnectTimeoutMillis() |
Integer |
getTcpIdleTimeoutSec() |
int |
getTcpPort() |
void |
setChannelFactory(org.jboss.netty.channel.ChannelFactory channelFactory) |
void |
setCommand(String command) |
void |
setTcpConnectTimeoutMillis(int tcpConnectTimeoutMillis) |
void |
setTcpIdleTimeoutSec(Integer tcpIdleTimeoutSec) |
void |
setTcpPort(int tcpPort) |
boolean |
validation() |
public static final org.jboss.netty.channel.ChannelHandler stringDecoder
public static final org.jboss.netty.channel.ChannelHandler stringEncoder
public TcpMeta(String command, int tcpPort, int tcpConnectTimeoutMillis, int tcpIdleTimeoutSec, org.jboss.netty.channel.ChannelFactory channelFactory)
public TcpMeta()
public boolean validation()
throws ParallelTaskInvalidException
ParallelTaskInvalidExceptionpublic String getCommand()
public void setCommand(String command)
public int getTcpPort()
public void setTcpPort(int tcpPort)
public int getTcpConnectTimeoutMillis()
public void setTcpConnectTimeoutMillis(int tcpConnectTimeoutMillis)
public org.jboss.netty.channel.ChannelFactory getChannelFactory()
public void setChannelFactory(org.jboss.netty.channel.ChannelFactory channelFactory)
public Integer getTcpIdleTimeoutSec()
public void setTcpIdleTimeoutSec(Integer tcpIdleTimeoutSec)
Copyright © 2015–2017 eBay. All rights reserved.