com.uwyn.drone.core
Interface Module

All Known Implementing Classes:
AbstractModule

public interface Module


Method Summary
 void channelCommand(Bot bot, Channel channel, String nick, String command, String arguments, ServerMessage fullMessage)
           
 void channelMessage(Bot bot, Channel channel, String nick, ServerMessage fullMessage)
           
 String[] getChannelCommands()
           
 String getDescription()
           
 Map getHelpMap()
           
 String[] getMessageCommands()
           
 String getName()
           
 String[] getNoticeCommands()
           
 String[] getRawCommands()
           
 ResponseCode[] getResponseCodes()
           
 ModuleRunner getRunner()
           
 void loggedon(Bot bot)
           
 void messageCommand(Bot bot, String nick, String command, String arguments, ServerMessage fullMessage)
           
 void noticeCommand(Bot bot, String nick, String command, String arguments, ServerMessage fullMessage)
           
 boolean processesChannelMessages()
           
 void rawCommand(Bot bot, String nick, String command, ServerMessage fullMessage)
           
 void response(Bot bot, String nick, ResponseCode responseCode, ServerMessage fullMessage)
           
 void setRunner(ModuleRunner runner)
           
 

Method Detail

setRunner

public void setRunner(ModuleRunner runner)

getRunner

public ModuleRunner getRunner()

getName

public String getName()

getDescription

public String getDescription()

getHelpMap

public Map getHelpMap()

getMessageCommands

public String[] getMessageCommands()

getNoticeCommands

public String[] getNoticeCommands()

getChannelCommands

public String[] getChannelCommands()

processesChannelMessages

public boolean processesChannelMessages()

getRawCommands

public String[] getRawCommands()

getResponseCodes

public ResponseCode[] getResponseCodes()

loggedon

public void loggedon(Bot bot)
              throws CoreException
Throws:
CoreException

messageCommand

public void messageCommand(Bot bot,
                           String nick,
                           String command,
                           String arguments,
                           ServerMessage fullMessage)
                    throws CoreException
Throws:
CoreException

noticeCommand

public void noticeCommand(Bot bot,
                          String nick,
                          String command,
                          String arguments,
                          ServerMessage fullMessage)
                   throws CoreException
Throws:
CoreException

channelCommand

public void channelCommand(Bot bot,
                           Channel channel,
                           String nick,
                           String command,
                           String arguments,
                           ServerMessage fullMessage)
                    throws CoreException
Throws:
CoreException

channelMessage

public void channelMessage(Bot bot,
                           Channel channel,
                           String nick,
                           ServerMessage fullMessage)
                    throws CoreException
Throws:
CoreException

rawCommand

public void rawCommand(Bot bot,
                       String nick,
                       String command,
                       ServerMessage fullMessage)
                throws CoreException
Throws:
CoreException

response

public void response(Bot bot,
                     String nick,
                     ResponseCode responseCode,
                     ServerMessage fullMessage)
              throws CoreException
Throws:
CoreException


Copyright © 2002-2004 Geert Bevin and UWYN. All Rights Reserved.