function Action (name, handler) {

events.EventEmitter.call(this);

this.name = name;
this.handler = handler;

// save last time this action was executed
// and user.
this.last_execute = null;
this.last_user  = null;

}
/* 
* Action executes an interaction with baall or digitalStrom
*/
Action executes an interaction with baall or digitalStrom
Action executes an interaction with baall or digitalStrom
function Action (name, handler) {
events.EventEmitter.call(this);
this.name = name;
this.handler = handler;
this.last_execute = null;
this.last_user  = null;
}
function Action ( name , handler ) { events . EventEmitter . call ( this ) ; this . name = name ; this . handler = handler ; this . last_execute = null ; this . last_user = null ; }
Action executes an interaction with baall or digitalStrom
Action executes an interaction with baall or digitalStrom
// save last time this action was executed // and user.