com.levelonelabs.aimbot.modules
Class MoviesModule

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

public class MoviesModule
extends BotModule

Handles requests to get movie times based on zip and/or theater and lists theaters by zip code.

Author:
John G Ledo john@imssoft.com

Field Summary
 
Fields inherited from class com.levelonelabs.aimbot.BotModule
bot
 
Constructor Summary
MoviesModule(AIMBot bot)
          Constructor for MoviesModule.
 
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)
          Grab the movie times (or list the theater not done)
 
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

MoviesModule

public MoviesModule(AIMBot bot)
Constructor for MoviesModule.

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)
Grab the movie times (or list the theater not done)

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


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