- Type Parameters:
R
- The return type of the visitorP
- The vararg input parameter type of the visitor
- All Implemented Interfaces:
- java.io.Serializable, IExtVisitor<R,java.lang.Class<?>,P,ADataPacket>
public class DataPacketAlgo<R,P>
extends AExtVisitor<R,java.lang.Class<?>,P,ADataPacket>
Concrete visitor for processing an abstract data packet.
For convenience and increased type safety, the commands used by this visitor should be subclasses of
ADataPacketAlgoCmd<R, D, P>, where D is the type of the data that particular command processes,
i.e. the defining type of its associated DataPacket<D> host.
- Author:
- Stephen Wong (c) 2010
- See Also:
- Serialized Form