Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
livebox:hah_plugboard_v2 [2013/12/27 04:08] – [Select] brett | livebox:hah_plugboard_v2 [2014/01/03 02:33] – [Filter] brett |
---|
^^ **Return Type** ^^ **Method** ^^ **Description** ^^ | ^^ **Return Type** ^^ **Method** ^^ **Description** ^^ |
|| Filter || xap.Filter(filter) || Constructor || | || Filter || xap.Filter(filter) || Constructor || |
| || void || <obj>:destroy() || Destructor || |
|| void || <obj>:add(section,key,value) || A condition matching an inbound xAP message, as many filters as needed can be added to the Filter object for matching. || | || void || <obj>:add(section,key,value) || A condition matching an inbound xAP message, as many filters as needed can be added to the Filter object for matching. || |
| || void || <obj>:delete(section,key,value) || Removing a matching condition from a filter || |
|| void || <obj>:callback(function, userdata) || When all the filter conditions are met invoke the function, the function has a single parameter this is the FRAME matched by the filters. The function passed will receive as parameters (frame, userdata) || | || void || <obj>:callback(function, userdata) || When all the filter conditions are met invoke the function, the function has a single parameter this is the FRAME matched by the filters. The function passed will receive as parameters (frame, userdata) || |
| |
^^ **Return Type** ^^ **Method** ^^ **Description** ^^ | ^^ **Return Type** ^^ **Method** ^^ **Description** ^^ |
|| Endpoint || Endpoint(table) || Constructor: a container to hold endpoints || | || Endpoint || Endpoint(table) || Constructor: a container to hold endpoints || |
| || nil || <obj>:destroy() || Destructor: remove the endpoint from existence || |
|| nil || <obj>:sendEvent() || Send xAPBSC.event for this endpoint || | || nil || <obj>:sendEvent() || Send xAPBSC.event for this endpoint || |
|| nil || <obj>:sendInfo() || Send xAPBSC.info for this endpoint || | || nil || <obj>:sendInfo() || Send xAPBSC.info for this endpoint || |