Subversion Repositories HomeAutomation

Rev

Rev 641 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1.  
  2.  
  3. /**
  4. * All objects in Flinsh that can get data through communcation object
  5. * should implement this interface.
  6. */
  7. interface CommunicatorIF {
  8.    
  9.    
  10.     /**
  11.     *
  12.     *
  13.     */
  14.   public function setNewData(data:XMLNode):Void;
  15.    
  16.     /**
  17.     * The communication object will ask this object of the name
  18.     * to know who to set new data.
  19.     * @return The name of object.
  20.     */
  21.     public function getName():String;
  22.    
  23.     public function setCommunicator(commObj:CommunicationObj):Void;
  24.    
  25. }
  26.  
  27.