org.iids.aos.hostmanager
Class RegistrationModule

java.lang.Object
  extended by org.iids.aos.systemservices.module.AbstractModule
      extended by org.iids.aos.systemservices.module.AbstractRunnableModule
          extended by org.iids.aos.hostmanager.RegistrationModule
All Implemented Interfaces:
java.lang.Runnable, Module

public class RegistrationModule
extends AbstractRunnableModule

Author:
mobach@cs.vu.nl module responsible for proper (de)registration with the locationmanager

Constructor Summary
RegistrationModule(AgentScapeConfig config, Communicator _communicator)
           
 
Method Summary
 LocationManager getLocationManager()
          helper method to allow other modules (such as the deregistrationmodule) to contact the locationmanager
 void pulse()
           
 void shutdown()
          Each abstract RUNNABLE module implementation must implement the shutdown method, which is called whenever the module is stopped (by AbstractRunnableModule.stop()) from the superclass.
 
Methods inherited from class org.iids.aos.systemservices.module.AbstractRunnableModule
isStarted, run, start, stop
 
Methods inherited from class org.iids.aos.systemservices.module.AbstractModule
getCommunicator, getModuleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationModule

public RegistrationModule(AgentScapeConfig config,
                          Communicator _communicator)
Method Detail

shutdown

public void shutdown()
Description copied from class: AbstractRunnableModule
Each abstract RUNNABLE module implementation must implement the shutdown method, which is called whenever the module is stopped (by AbstractRunnableModule.stop()) from the superclass.

Specified by:
shutdown in class AbstractRunnableModule

pulse

public void pulse()
Specified by:
pulse in class AbstractRunnableModule

getLocationManager

public LocationManager getLocationManager()
helper method to allow other modules (such as the deregistrationmodule) to contact the locationmanager

Returns:
LocationManager


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.