|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SOMA.network.connection.Command | +--SOMA.network.connection.QuickCommand
Comando che non viene eseguito da un thread separato per ragioni di efficienza.
QuickCommand va utilizzato sono per comandi di rapida esecuzione, che non corrono il rischio di bloccare il server impedendo ai comandi successivi di essere eseguiti.
Fields inherited from class SOMA.network.connection.Command |
env,
ReturnConnection |
Constructor Summary | |
QuickCommand()
|
Method Summary | |
void |
start(Connection ReturnConnection,
Environment env)
Effettuate le inizializzazioni, chiama direttamente Command.run() .
|
Methods inherited from class SOMA.network.connection.Command |
Return,
run,
startOnError |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public QuickCommand()
Method Detail |
public void start(Connection ReturnConnection, Environment env)
Command.run()
.
Command.run()
deve poter essere eseguito tanto in fretta da rendere inefficiente la
creazione e l'avvio di un nuovo thread.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |