org.das2.qds.buffer.CcsdsReader.PacketHandler

extend this class to handle a particular packet type.


packet

packet( int packetId, java.nio.ByteBuffer buf ) → int

process the packet return a 0 if the data was processed correctly.

Parameters

packetId - an int
buf - a ByteBuffer

Returns:

an int

[search for examples] [view on GitHub] [view on old javadoc] [view source]