uk.ac.lancs.relate.gateways.services.invocation
Class DevicesMobileCodeLoader

java.lang.Object
  extended by uk.ac.lancs.relate.gateways.services.invocation.DevicesMobileCodeLoader

public class DevicesMobileCodeLoader
extends java.lang.Object

This class is in charge of loading the mobile code received from the devices providing services. In essence it is a TrackableDevice factory.

Author:
Dominique Guinard
Personal Homepage

Constructor Summary
DevicesMobileCodeLoader(GatewayApplication gwApp)
          Creates a new instance of DevicesMobileCodeLoader
 
Method Summary
 void loadDevicesMobileCodes(java.util.ArrayList<DeviceMobileCode> mobileCodes)
          This method loads the mobile codes of n devices in the current environment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DevicesMobileCodeLoader

public DevicesMobileCodeLoader(GatewayApplication gwApp)
Creates a new instance of DevicesMobileCodeLoader

Method Detail

loadDevicesMobileCodes

public void loadDevicesMobileCodes(java.util.ArrayList<DeviceMobileCode> mobileCodes)
This method loads the mobile codes of n devices in the current environment. A piece mobile code contains everything a client needs for consuming newly discovered services. As a consequence invoking this method will make the environment ready for consuming the discovered services on the discovered devices.