SOMA.naming.place
Class PlaceRegisterCommand

java.lang.Object
  extended bySOMA.network.connection.Command
      extended bySOMA.naming.place.PlaceRegisterCommand
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable
Direct Known Subclasses:
MobilePlaceRegisterCommand

public class PlaceRegisterCommand
extends Command

Comando di registrazione del PNS di un place presso il PNS del default place.

Author:
Livio Profiri
See Also:
Serialized Form

Field Summary
protected  PlaceInfo myPlaceInfo
           
 
Fields inherited from class SOMA.network.connection.Command
env, ReturnConnection
 
Constructor Summary
PlaceRegisterCommand(PlaceInfo myPlaceInfo)
          Costruttore
 
Method Summary
 void run()
          Registra il place e gli spedisce un PlaceRefreshCommand.
 
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

myPlaceInfo

protected PlaceInfo myPlaceInfo
Constructor Detail

PlaceRegisterCommand

public PlaceRegisterCommand(PlaceInfo myPlaceInfo)
Costruttore

Method Detail

run

public void run()
Registra il place e gli spedisce un PlaceRefreshCommand.

Se un place con lo stesso nome era gia' presente, gli viene spedito un messaggio di errore.

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


Copyright © 2004 Luca Foschini