Interface PacketInputStream
-
- All Known Implementing Classes:
DecompressPacketInputStream,StandardPacketInputStream
public interface PacketInputStream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()intgetCompressLastPacketSeq()InputStreamgetInputStream()intgetLastPacketSeq()BuffergetPacket(boolean reUsable)byte[]getPacketArray(boolean reUsable)voidsetServerThreadId(long serverThreadId, Boolean isMaster)voidsetTraceCache(LruTraceCache traceCache)
-
-
-
Method Detail
-
getPacket
Buffer getPacket(boolean reUsable) throws IOException
- Throws:
IOException
-
getPacketArray
byte[] getPacketArray(boolean reUsable) throws IOException- Throws:
IOException
-
getLastPacketSeq
int getLastPacketSeq()
-
getCompressLastPacketSeq
int getCompressLastPacketSeq()
-
close
void close() throws IOException- Throws:
IOException
-
setServerThreadId
void setServerThreadId(long serverThreadId, Boolean isMaster)
-
setTraceCache
void setTraceCache(LruTraceCache traceCache)
-
getInputStream
InputStream getInputStream()
-
-