@NotThreadSafe public final class LocalFilePacketReader extends Object implements PacketReader
Modifier and Type | Class and Description |
---|---|
static class |
LocalFilePacketReader.Factory
Factory class to create
LocalFilePacketReader s. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
pos() |
DataBuffer |
readPacket()
Reads a packet.
|
public DataBuffer readPacket() throws IOException
PacketReader
readPacket
in interface PacketReader
IOException
public long pos()
pos
in interface PacketReader
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023. All Rights Reserved.