1
0
Fork 0
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:
Simo Kinnunen 2014-06-24 11:41:26 +09:00
parent 692582ce3d
commit db1699c666
6 changed files with 147 additions and 2 deletions

View file

@ -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([