org.apache.hadoop.oncrpc
Class SimpleUdpServer
java.lang.Object
org.apache.hadoop.oncrpc.SimpleUdpServer
public class SimpleUdpServer
- extends Object
Simple UDP server implemented based on netty.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
port
protected final int port
pipelineFactory
protected final org.jboss.netty.channel.ChannelPipelineFactory pipelineFactory
rpcProgram
protected final RpcProgram rpcProgram
workerCount
protected final int workerCount
SimpleUdpServer
public SimpleUdpServer(int port,
RpcProgram program,
int workerCount)
run
public void run()
Copyright © 2009 The Apache Software Foundation