final class UDPNetwork.NetServerIn extends Daemon
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
buf |
(package private) DatagramPacket |
packet |
Modifier | Constructor and Description |
---|---|
protected |
NetServerIn(String name,
Logger logmon) |
Modifier and Type | Method and Description |
---|---|
private void |
cleanServerInfo(UDPNetwork.ServerInfo srvInfo,
int bootstamp)
Cleans a server information about packets.
|
protected void |
close()
Releases any resources attached to this daemon.
|
void |
run() |
protected void |
shutdown()
Interrupts a thread that waits for long periods.
|
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString
final byte[] buf
final DatagramPacket packet
protected NetServerIn(String name, Logger logmon) throws IOException
IOException
protected void close()
Daemon
protected void shutdown()
Daemon
public void run()
private void cleanServerInfo(UDPNetwork.ServerInfo srvInfo, int bootstamp) throws IOException, Exception
srvInfo
- the server information.bootstamp
- the boot timestamp for the given server.IOException
- an error occurs.Exception
- an error occurs.Copyright © 2022 ScalAgent D.T.. All rights reserved.