|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for producing RvCommand
s from incoming rendezvous
ICBM commands.
Method Summary | |
RvCommand |
genRvCommand(RecvRvIcbm rvIcbm)
Attempts to generate a RvCommand from the data in the given
RecvRvIcbm . |
CapabilityBlock[] |
getSupportedCapabilities()
Returns the types of RV commands that this factory may be able to generate in genRvCommand . |
Method Detail |
public CapabilityBlock[] getSupportedCapabilities()
genRvCommand
. Note that a capability block's
presence in the returned array does not mean that a call to genRvCommand(net.kano.joscar.snaccmd.icbm.RecvRvIcbm)
must return a non-null
value; it simply means
that this factory can be used to handle commands of that type.
null
, it will be used to
by the RvProcessor
to which it is added to handle all types
of commands do not otherwise have an associated factory. See RvProcessor.registerRvCmdFactory(CapabilityBlock, RvCommandFactory)
for
details.
null
if it can handle all types of
rendezvous commandspublic RvCommand genRvCommand(RecvRvIcbm rvIcbm)
RvCommand
from the data in the given
RecvRvIcbm
. Note that this method can return
null
if an RV command cannot be generated for any reason
(such as if the given command is in an invalid format
rvIcbm
- the incoming rendezvous ICBM command from which a
RvCommand
should be generated
RvCommand
generated from the given incoming RV
ICBM, or null
if none could be generated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |