|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSOMA.network.connection.Command
SOMA.network.TransportCommand
Comando per le comunicazioni fra place di domini diversi.
TransportCommand incapsula il comando da recapitare:
viene spedito verso una destinazione intermedia, raggiunta la quale
spedisce di nuovo il comando trasportato.
Field Summary | |
(package private) Command |
command
|
(package private) PlaceID |
destination
|
Fields inherited from class SOMA.network.connection.Command |
env, ReturnConnection |
Constructor Summary | |
TransportCommand(PlaceID destination,
Command command)
Costruttore. |
Method Summary | |
void |
run()
Spedisce di nuovo il comando trasportato. |
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, toString, wait, wait, wait |
Field Detail |
PlaceID destination
Command command
Constructor Detail |
public TransportCommand(PlaceID destination, Command command)
destination
- Place di destinazione.command
- Comando da trasportare.Method Detail |
public void run()
Command.startOnError()
restituisce true
, il comando viene attivato, altrimenti viene perso.
run
in interface java.lang.Runnable
run
in class Command
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |