com.levelonelabs.aimbot.modules
Class SkiReportModule

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

public class SkiReportModule
extends BotModule

Handles requests to get ski snow reports

Author:
Scott Oster

Field Summary
 
Fields inherited from class com.levelonelabs.aimbot.BotModule
bot
 
Constructor Summary
SkiReportModule(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)
          Return snow report
 
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

SkiReportModule

public SkiReportModule(AIMBot bot)
Constructor for StockModule.

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)
Return snow report

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


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