javabot
Class ActExecutor
java.lang.Object
javabot.ActExecutor
public class ActExecutor
- extends Object
Executes a command and reports to all listeners to that command.
SendCommand is called by PogamutJBotSupport periodically when batches are being sent.
- Author:
- Radek 'Black_Hand' Pibil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActExecutor
public ActExecutor()
act
public void act(CommandMessage command)
throws ComponentNotRunningException,
ComponentPausedException
- Throws:
ComponentNotRunningException
ComponentPausedException
addCommandListener
public void addCommandListener(Class commandClass,
ICommandListener listener)
isCommandListening
public boolean isCommandListening(Class commandClass,
ICommandListener listener)
removeCommandListener
public void removeCommandListener(Class commandClass,
ICommandListener listener)
sendCommand
public void sendCommand(DefConCommand command)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.