public class SimpleUdpServer
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
boundPort |
|
static org.slf4j.Logger |
LOG |
|
protected int |
port |
|
protected io.netty.channel.ChannelInboundHandlerAdapter |
rpcProgram |
|
protected int |
workerCount |
| Constructor | Description |
|---|---|
SimpleUdpServer(int port,
io.netty.channel.ChannelInboundHandlerAdapter program,
int workerCount) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getBoundPort() |
|
void |
run() |
|
void |
shutdown() |
public static final org.slf4j.Logger LOG
protected final int port
protected final io.netty.channel.ChannelInboundHandlerAdapter rpcProgram
protected final int workerCount
protected int boundPort
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.