javabot
Class ActExecutor

Package class diagram package ActExecutor
java.lang.Object
  extended by 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

Constructor Summary
ActExecutor()
           
 
Method Summary
 void act(CommandMessage command)
           
 void addCommandListener(Class commandClass, ICommandListener listener)
           
 boolean isCommandListening(Class commandClass, ICommandListener listener)
           
 void removeCommandListener(Class commandClass, ICommandListener listener)
           
 void sendCommand(DefConCommand command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActExecutor

public ActExecutor()
Method Detail

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 © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.