public class UdpMeta
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private org.jboss.netty.channel.socket.DatagramChannelFactory |
channelFactory |
private java.lang.String |
command
The command
|
private static org.slf4j.Logger |
logger
The logger.
|
static org.jboss.netty.channel.ChannelHandler |
stringDecoder |
static org.jboss.netty.channel.ChannelHandler |
stringEncoder |
private java.lang.Integer |
udpIdleTimeoutSec |
private java.lang.Integer |
udpPort
The udp port.
|
Constructor and Description |
---|
UdpMeta() |
UdpMeta(java.lang.String command,
int udpPort,
int udpIdleTimeoutSec,
org.jboss.netty.channel.socket.DatagramChannelFactory channelFactory) |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.channel.ChannelFactory |
getChannelFactory() |
java.lang.String |
getCommand() |
java.lang.Integer |
getUdpIdleTimeoutSec() |
java.lang.Integer |
getUdpPort() |
void |
setChannelFactory(org.jboss.netty.channel.socket.DatagramChannelFactory channelFactory) |
void |
setCommand(java.lang.String command) |
void |
setUdpIdleTimeoutSec(java.lang.Integer udpIdleTimeoutSec) |
void |
setUdpPort(java.lang.Integer udpPort) |
java.lang.String |
toString() |
boolean |
validation() |
private static org.slf4j.Logger logger
public static final org.jboss.netty.channel.ChannelHandler stringDecoder
public static final org.jboss.netty.channel.ChannelHandler stringEncoder
private java.lang.String command
private java.lang.Integer udpPort
private java.lang.Integer udpIdleTimeoutSec
private org.jboss.netty.channel.socket.DatagramChannelFactory channelFactory
public UdpMeta(java.lang.String command, int udpPort, int udpIdleTimeoutSec, org.jboss.netty.channel.socket.DatagramChannelFactory channelFactory)
public UdpMeta()
public boolean validation() throws ParallelTaskInvalidException
ParallelTaskInvalidException
public java.lang.String getCommand()
public void setCommand(java.lang.String command)
public org.jboss.netty.channel.ChannelFactory getChannelFactory()
public void setChannelFactory(org.jboss.netty.channel.socket.DatagramChannelFactory channelFactory)
public java.lang.Integer getUdpPort()
public void setUdpPort(java.lang.Integer udpPort)
public java.lang.Integer getUdpIdleTimeoutSec()
public void setUdpIdleTimeoutSec(java.lang.Integer udpIdleTimeoutSec)
public java.lang.String toString()
toString
in class java.lang.Object