|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levelonelabs.aimbot.BotModule com.levelonelabs.aimbot.modules.StockModule
Handles requests to get stock quotes
Field Summary |
Fields inherited from class com.levelonelabs.aimbot.BotModule |
bot |
Constructor Summary | |
StockModule(AIMBot bot)
Constructor for StockModule. |
Method Summary | |
java.lang.String |
getName()
Gets the canonical name of the BotModule |
java.util.ArrayList |
getServices()
Must implement this to return a list of Strings that represent the keywords the module wants to be called for |
java.lang.String |
help()
A String to be presented to a client that descibes the services (keywords) this module provides. |
void |
performService(AIMBuddy buddy,
java.lang.String query)
This will be called when the AIMBot gets a string starting with a keyword that this module advertised as a service. |
Methods inherited from class com.levelonelabs.aimbot.BotModule |
addAIMListener, addBuddies, addBuddy, denyBuddy, getBuddy, getBuddyNames, getPermitMode, permitBuddy, removeBuddies, removeBuddy, sendMessage, sendWarning, setAvailable, setPermitMode, setUnavailable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StockModule(AIMBot bot)
bot
- Method Detail |
public java.lang.String getName()
BotModule
getName
in class BotModule
BotModule.getName()
public java.util.ArrayList getServices()
BotModule
getServices
in class BotModule
BotModule.getServices()
public java.lang.String help()
BotModule
help
in class BotModule
BotModule.help()
public void performService(AIMBuddy buddy, java.lang.String query)
BotModule
performService
in class BotModule
buddy
- query
- BotModule.performService(AIMBuddy, String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |