|
|||||||||||
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.ScheduleModule
A class to handle scheduling commands to happen at certain times
Field Summary |
Fields inherited from class com.levelonelabs.aimbot.BotModule |
bot |
Constructor Summary | |
ScheduleModule(AIMBot bot)
Constructor for the ReminderModule object |
Method Summary | |
void |
addEvent(AIMBuddy buddy,
java.util.Date eventDate,
java.lang.String command)
Add a reminder for a buddy |
void |
addEvent(AIMBuddy buddy,
long period,
java.lang.String command)
Add a reminder for a buddy |
void |
clearEvents(AIMBuddy buddy)
clear reminders for a buddy |
java.lang.String |
getName()
Gets the name attribute of the SchedulerModule object |
java.util.ArrayList |
getServices()
Gets the services attribute of the SchedulerModule object |
java.lang.String |
help()
Describes the usage of the module |
void |
performService(AIMBuddy buddy,
java.lang.String query)
Handle a messaging query |
void |
readState(org.w3c.dom.Element fullStateElement)
Read info from the Element |
boolean |
removeEvent(AIMBuddy buddy,
int i)
Remove Specific Reminder |
boolean |
retrieveEvents(AIMBuddy buddy)
Grabs and sends any stored reminders for a buddy |
void |
writeState(org.w3c.dom.Element emptyStateElement)
Write current into the Element |
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 ScheduleModule(AIMBot bot)
bot
- Method Detail |
public java.lang.String getName()
getName
in class BotModule
public java.util.ArrayList getServices()
getServices
in class BotModule
public java.lang.String help()
help
in class BotModule
public boolean retrieveEvents(AIMBuddy buddy)
buddy
-
public void performService(AIMBuddy buddy, java.lang.String query)
performService
in class BotModule
buddy
- query
- public boolean removeEvent(AIMBuddy buddy, int i)
buddy
- buddyi
- list item number
public void clearEvents(AIMBuddy buddy)
buddy
- buddypublic void addEvent(AIMBuddy buddy, long period, java.lang.String command)
buddy
- buddyperiod
- Delay for timerpublic void addEvent(AIMBuddy buddy, java.util.Date eventDate, java.lang.String command)
buddy
- buddyeventDate
- Date of scheduled eventpublic void writeState(org.w3c.dom.Element emptyStateElement)
XMLizable
writeState
in interface XMLizable
emptyStateElement
- DOM element to write toXMLizable.writeState(Element)
public void readState(org.w3c.dom.Element fullStateElement)
XMLizable
readState
in interface XMLizable
fullStateElement
- DOM element to read fromXMLizable.readState(Element)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |