mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Impement remote connect plugin.
This commit is contained in:
parent
692582ce3d
commit
db1699c666
6 changed files with 147 additions and 2 deletions
|
@ -484,6 +484,26 @@ module.exports = function(options) {
|
|||
)
|
||||
])
|
||||
})
|
||||
.on('connect.start', function(channel, responseChannel) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, wireutil.transaction(
|
||||
responseChannel
|
||||
, new wire.ConnectStartMessage()
|
||||
)
|
||||
])
|
||||
})
|
||||
.on('connect.stop', function(channel, responseChannel) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, wireutil.transaction(
|
||||
responseChannel
|
||||
, new wire.ConnectStopMessage()
|
||||
)
|
||||
])
|
||||
})
|
||||
.on('browser.open', function(channel, responseChannel, data) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue