Package naga
Interface PacketWriter
-
- All Known Implementing Classes:
AsciiLinePacketWriter
,CipherPacketWriter
,DelimiterPacketWriter
,RawPacketWriter
,RegularPacketWriter
,SSLPacketHandler
,ZeroDelimitedPacketWriter
public interface PacketWriter
Interface for classes implementing packet writing strategies.The method
write(ByteBuffer[])
converts an incoming byte array to an outgoing byte array.- Author:
- Christoffer Lerno
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.ByteBuffer[]
write(java.nio.ByteBuffer[] byteBuffer)
Convert the incoming bytes to the bytes to be serialized.
-