org.almendra.janet.cas.scheduling
Class SendCommandExecutable

java.lang.Object
  extended by org.almendra.janet.cas.scheduling.SendCommandExecutable
All Implemented Interfaces:
IExecutable

public class SendCommandExecutable
extends java.lang.Object
implements IExecutable


Field Summary
protected  ICommand command
           
protected  IAgentProxy destinationAgent
           
protected  Logger logger
           
 
Constructor Summary
protected SendCommandExecutable()
          Creates a new SendCommandExecutable object.
  SendCommandExecutable(IAgentProxy destinationAgent, ICommand command, Logger logger)
          Creates a new SendCommandExecutable object.
 
Method Summary
 void execute(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destinationAgent

protected IAgentProxy destinationAgent

command

protected ICommand command

logger

protected Logger logger
Constructor Detail

SendCommandExecutable

protected SendCommandExecutable()
Creates a new SendCommandExecutable object.


SendCommandExecutable

public SendCommandExecutable(IAgentProxy destinationAgent,
                             ICommand command,
                             Logger logger)
Creates a new SendCommandExecutable object.

Method Detail

execute

public void execute(java.lang.Object object)
Specified by:
execute in interface IExecutable