extend this class to handle a particular packet type.
process the packet return a 0 if the data was processed correctly.