com.levelonelabs.aimbot.modules
Class PreferenceModule

java.lang.Object
  extended bycom.levelonelabs.aimbot.BotModule
      extended bycom.levelonelabs.aimbot.modules.PreferenceModule

public class PreferenceModule
extends BotModule

Handles requests to store and retrieve preferences

Author:
Will Gorman

Field Summary
 
Fields inherited from class com.levelonelabs.aimbot.BotModule
bot
 
Constructor Summary
PreferenceModule(AIMBot bot)
          Constructor for the PreferenceModule object
 
Method Summary
 java.lang.String getName()
          Gets the name attribute of the PreferenceModule object
 java.util.ArrayList getServices()
          Gets the services attribute of the PreferenceModule object
 java.lang.String help()
          Describes the usage of the module
 void performService(AIMBuddy buddy, java.lang.String query)
          Handle a preference query
 
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

PreferenceModule

public PreferenceModule(AIMBot bot)
Constructor for the PreferenceModule object

Parameters:
bot -
Method Detail

getServices

public java.util.ArrayList getServices()
Gets the services attribute of the PreferenceModule object

Specified by:
getServices in class BotModule
Returns:
The services value

getName

public java.lang.String getName()
Gets the name attribute of the PreferenceModule object

Specified by:
getName in class BotModule
Returns:
The name value

help

public java.lang.String help()
Describes the usage of the module

Specified by:
help in class BotModule
Returns:
the usage of the module

performService

public void performService(AIMBuddy buddy,
                           java.lang.String query)
Handle a preference query

Specified by:
performService in class BotModule
Parameters:
buddy -
query -


Copyright © 2001-2005 Java AIM Bot. All Rights Reserved.