mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Initial version of transactions. Shell command implemented as an example. Still needs channel cleanup on app side, handling a device dying in the middle of a transaction, and getting device list back to normal.
This commit is contained in:
parent
84207e1f36
commit
8769b8040c
19 changed files with 433 additions and 181 deletions
|
@ -34,10 +34,14 @@ Router.prototype.handler = function() {
|
|||
if (type) {
|
||||
this.emit(
|
||||
wrapper.type
|
||||
, channel
|
||||
, wrapper.channel || channel
|
||||
, wire[type].decode(wrapper.message)
|
||||
, data
|
||||
)
|
||||
this.emit(
|
||||
'message'
|
||||
, channel
|
||||
)
|
||||
}
|
||||
else {
|
||||
log.warn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue