Subversion Repositories HomeAutomation

Rev

Rev 73 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

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