datapacket
Class DataPacketAlgo<R,P>
java.lang.Object
extvisitor.AExtVisitor<R,java.lang.Class<?>,P,ADataPacket>
datapacket.DataPacketAlgo<R,P>
- Type Parameters:
R - The return type of the visitorP - The vararg input parameter type of the visitor
- All Implemented Interfaces:
- IExtVisitor<R,java.lang.Class<?>,P,ADataPacket>, java.io.Serializable
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
DataPacketAlgo
public DataPacketAlgo(ADataPacketAlgoCmd<R,java.lang.Object,P> defaultCmd)
- Constructor for the class.
- Parameters:
defaultCmd - The default command to be used. See the main class documentation for usage suggestions.