public class UdpServer extends Object
| Constructor and Description |
|---|
UdpServer(UdpServerConf udpServerConf) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
send(byte[] data,
Node remoteNode) |
void |
send(String str,
Node remoteNode) |
void |
send(String data,
String charset,
Node remoteNode) |
void |
start() |
void |
stop() |
public UdpServer(UdpServerConf udpServerConf) throws SocketException
SocketExceptionpublic static void main(String[] args) throws IOException
args - IOExceptionpublic void send(byte[] data,
Node remoteNode)
public void start()
public void stop()
Copyright © 2021. All rights reserved.