public interface PacketReceiver<PACKET>
ByteProcessor implementations.
Typically an InputStreamProcessor implementation uses this contract
to collect generated packets from ByteProcessor.| Modifier and Type | Method and Description |
|---|---|
boolean |
receive(PACKET packet)
Receive a packet from a
ByteProcessor. |
boolean receive(PACKET packet) throws Exception
ByteProcessor. This packet may not be
fully constructed; in which case it will be passed on to another
ByteProcessor.packet - packetByteProcessor should quit processing;
otherwise falseException - ExceptionCopyright © 2019. All rights reserved.