|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectClientRoomCmdFactory
A SNAC command factory for the client-bound commands provided in this package, appropriate for use by an AIM client.
| Constructor Summary | |
ClientRoomCmdFactory()
|
|
| 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 SnacCommands. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClientRoomCmdFactory()
| Method Detail |
public CmdType[] getSupportedTypes()
SnacCmdFactorySnacCommands. 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 SnacCmdFactorygenSnacCommandpublic SnacCommand genSnacCommand(SnacPacket packet)
SnacCmdFactorySnacCommand.
This can return null if no appropriate
SnacCommand can be created (for example, if the packet is in
an invalid format).
genSnacCommand in interface SnacCmdFactorypacket - 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 | |||||||||