|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectClientAuthCmdFactory
A SNAC command factory for the client-bound SNAC commands provided in this package, appropriate for use in an AIM client.
Constructor Summary | |
ClientAuthCmdFactory()
|
Method Summary | |
SnacCommand |
genSnacCommand(SnacPacket packet)
Attempts to convert the given SNAC packet to a SnacCommand .
|
CmdType[] |
getSupportedTypes()
Returns a list of the SNAC command types this factory can possibly convert to SnacCommand s. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientAuthCmdFactory()
Method Detail |
public CmdType[] getSupportedTypes()
SnacCmdFactory
SnacCommand
s. Note that it is not required to
be able to convert every SNAC packet that matches the types returned by
this method; rather, this just provides a means of filtering out types
that can definitely not be handled (by not including them in the returned
list).
getSupportedTypes
in interface SnacCmdFactory
genSnacCommand
public SnacCommand genSnacCommand(SnacPacket packet)
SnacCmdFactory
SnacCommand
.
This can return null
if no appropriate
SnacCommand
can be created (for example, if the packet is in
an invalid format).
genSnacCommand
in interface SnacCmdFactory
packet
- the packet to use for generation of a
SnacCommand
SnacCommand
for representing the
given SnacPacket
, or null
if no such
object can be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |