com.levelonelabs.aimbot.modules
Class UserInformationModule

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

public class UserInformationModule
extends BotModule

Handles requests for user queries

Author:
Scott Oster

Field Summary
 
Fields inherited from class com.levelonelabs.aimbot.BotModule
bot
 
Constructor Summary
UserInformationModule(AIMBot bot)
          Constructor for AdminModule.
 
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

UserInformationModule

public UserInformationModule(AIMBot bot)
Constructor for AdminModule.

Parameters:
bot -
Method Detail

getName

public java.lang.String getName()
Description copied from class: BotModule
Gets the canonical name of the BotModule

Specified by:
getName in class BotModule
Returns:
The name of the module
See Also:
BotModule.getName()

getServices

public java.util.ArrayList getServices()
Description copied from class: BotModule
Must implement this to return a list of Strings that represent the keywords the module wants to be called for

Specified by:
getServices in class BotModule
Returns:
all list of strings that are the keywords the module wants to hear about
See Also:
BotModule.getServices()

help

public java.lang.String help()
Description copied from class: BotModule
A String to be presented to a client that descibes the services (keywords) this module provides. NOTE: a URL to documentation is acceptable.

Specified by:
help in class BotModule
Returns:
the help text
See Also:
BotModule.help()

performService

public void performService(AIMBuddy buddy,
                           java.lang.String query)
Description copied from class: BotModule
This will be called when the AIMBot gets a string starting with a keyword that this module advertised as a service.

Specified by:
performService in class BotModule
Parameters:
buddy -
query -
See Also:
BotModule.performService(AIMBuddy, String)


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