SOMA.agent.mobility
Class SendMessageCommand

java.lang.Object
  extended bySOMA.network.connection.Command
      extended bySOMA.agent.mobility.SendMessageCommand
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class SendMessageCommand
extends Command

Classe di comando per la spedizione di un messaggio.

Il costruttore richiede come argomento il messaggio ed il numero di effettuati.

Author:
Livio Profiri
See Also:
Serialized Form

Field Summary
 
Fields inherited from class SOMA.network.connection.Command
env, ReturnConnection
 
Constructor Summary
(package private) SendMessageCommand(Message message, int attemptsCount)
           
 
Method Summary
 void run()
          Contiene la computazione che il comando deve svolgere.
 java.lang.String toString()
           
 
Methods inherited from class SOMA.network.connection.Command
Return, start, startOnError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMessageCommand

SendMessageCommand(Message message,
                   int attemptsCount)
Method Detail

run

public void run()
Description copied from class: Command
Contiene la computazione che il comando deve svolgere.
Questo metodo astratto va definito nelle implementazioni concrete dei comandi.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class Command

toString

public java.lang.String toString()


Copyright © 2004 Luca Foschini