1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00

Don't rely on lucky timings when sending messages from the provider.

This commit is contained in:
Simo Kinnunen 2014-02-05 15:37:28 +09:00
parent 36d0af71b5
commit 91097dc569
6 changed files with 153 additions and 84 deletions

View file

@ -40,12 +40,6 @@ var wireutil = {
, entry.identifier
))
}
, makeDevicePokeMessage: function(serial, channel) {
return wireutil.envelope(new wire.DevicePokeMessage(
serial
, channel
))
}
, makeDeviceIdentityMessage: function(serial, identity) {
return wireutil.envelope(new wire.DeviceIdentityMessage(
serial
@ -78,9 +72,6 @@ var wireutil = {
})
))
}
, makeProbeMessage: function() {
return wireutil.envelope(new wire.ProbeMessage())
}
, makeShellCommandMessage: function(channel, command) {
return wireutil.envelope(new wire.ShellCommandMessage(
channel