public class PacketManager extends ALSBDebuggerObject implements java.lang.Runnable
| Constructor and Description |
|---|
PacketManager(ALSBDebugger debugger)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes this manager
|
void |
init()
init dependencies
|
void |
run()
listens for incoming packets
|
Packet |
send(Packet packet)
sends a packet in a non-blocking way
|
void |
start()
starts the manager
|
debugger, equals, hashCode, validateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoStringpublic PacketManager(ALSBDebugger debugger)
public void init()
public void start()
public void close()
public Packet send(Packet packet) throws ProtocolException
ProtocolExceptionpublic void run()
run in interface java.lang.Runnable