Packageat.fhjoanneum.dmt.umj.core.interfaces
Classpublic class InterfaceDispatcher
InheritanceInterfaceDispatcher Inheritance Object

IMPORTANT FRAMEWORK CLASS: The InterfaceDispatcher is a nice Singleton that can be used to communicate with the arduino and the zumtobel interface. Make sure your AppConfig xml enables the needed interfaces.



Public Methods
 MethodDefined By
  
InterfaceDispatcher(enforcer:SingletonEnforcer)
InterfaceDispatcher
  
connectAndSetZumtobelProperty(property:String, value:String):void
InterfaceDispatcher
  
[static]
InterfaceDispatcher
  
InterfaceDispatcher
  
InterfaceDispatcher
  
InterfaceDispatcher
  
InterfaceDispatcher
Protected Methods
 MethodDefined By
  
dealloc():void
InterfaceDispatcher
  
init():void
InterfaceDispatcher
Constructor Detail
InterfaceDispatcher()Constructor
public function InterfaceDispatcher(enforcer:SingletonEnforcer)



Parameters
enforcer:SingletonEnforcer
Method Detail
connectAndSetZumtobelProperty()method
public function connectAndSetZumtobelProperty(property:String, value:String):void

Parameters

property:String
 
value:String

dealloc()method 
protected function dealloc():void

getInstance()method 
public static function getInstance():InterfaceDispatcher

Returns
InterfaceDispatcher
init()method 
protected function init():void

setArduinoDigitalDispatcherAllRelayOFF()method 
public function setArduinoDigitalDispatcherAllRelayOFF():void

setArduinoDigitalDispatcherAllRelayON()method 
public function setArduinoDigitalDispatcherAllRelayON():void

setArduinoDigitalDispatcherRelayOFF()method 
public function setArduinoDigitalDispatcherRelayOFF(myRelay:Number):void

Parameters

myRelay:Number

setArduinoDigitalDispatcherRelayON()method 
public function setArduinoDigitalDispatcherRelayON(myRelay:Number):void

Parameters

myRelay:Number