public class DirectTcpPacketReader<P extends Packet<?>> extends PacketReader<P>
in| Constructor and Description |
|---|
DirectTcpPacketReader(java.lang.String host,
java.io.InputStream in,
PacketFactory<P> packetFactory,
PacketReceiver<P> handler) |
| Modifier and Type | Method and Description |
|---|---|
protected P |
doRead()
Read the actual SMB2 Packet from the
InputStream |
run, start, stoppublic DirectTcpPacketReader(java.lang.String host,
java.io.InputStream in,
PacketFactory<P> packetFactory,
PacketReceiver<P> handler)
protected P doRead() throws TransportException
PacketReaderInputStreamdoRead in class PacketReader<P extends Packet<?>>TransportException