|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDefaultFlapCmdFactory
Provides a default implementation of a FLAP command factory. This factory
converts FLAP packets to the FlapCommand
s located in this
package, such as SnacFlapCmd
.
Constructor Summary | |
DefaultFlapCmdFactory()
|
Method Summary | |
FlapCommand |
genFlapCommand(FlapPacket packet)
Returns a FlapCommand representing the given packet, or
null if there is no FlapCommand which can
represent the given packet (that is, if the packet type or format is
unrecognized by this factory). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultFlapCmdFactory()
Method Detail |
public FlapCommand genFlapCommand(FlapPacket packet)
FlapCommandFactory
FlapCommand
representing the given packet, or
null
if there is no FlapCommand
which can
represent the given packet (that is, if the packet type or format is
unrecognized by this factory).
genFlapCommand
in interface FlapCommandFactory
packet
- the packet from which a FlapCommand
should
be created
FlapCommand
to represent the given packet, or
null
if this factory has no FlapCommand
counterpart for this packet type or format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |