public class AsyncPacketReader<P extends Packet<?>>
extends java.lang.Object
| Constructor and Description |
|---|
AsyncPacketReader(java.nio.channels.AsynchronousSocketChannel channel,
PacketFactory<P> packetFactory,
PacketReceiver<P> handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
start(java.lang.String remoteHost,
int soTimeout) |
void |
stop() |
public AsyncPacketReader(java.nio.channels.AsynchronousSocketChannel channel,
PacketFactory<P> packetFactory,
PacketReceiver<P> handler)