public class SimpleTcpServer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
boundPort |
static org.apache.commons.logging.Log |
LOG |
protected int |
port |
protected org.jboss.netty.channel.SimpleChannelUpstreamHandler |
rpcProgram |
protected int |
workerCount
The maximum number of I/O worker threads
|
| Constructor and Description |
|---|
SimpleTcpServer(int port,
RpcProgram program,
int workercount) |
public static final org.apache.commons.logging.Log LOG
protected final int port
protected int boundPort
protected final org.jboss.netty.channel.SimpleChannelUpstreamHandler rpcProgram
protected final int workerCount
public SimpleTcpServer(int port,
RpcProgram program,
int workercount)
port - TCP port where to start the server atprogram - RPC program corresponding to the serverworkercount - Number of worker threadsCopyright © 2018 CERN. All Rights Reserved.