From 08be1198832f67acc8881e8f6e8eda0addaa8750 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Wed, 26 Feb 2014 20:48:35 +0900 Subject: [PATCH] Remove old utility methods. --- lib/wire/util.js | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/lib/wire/util.js b/lib/wire/util.js index d755482f..bc1b4d59 100644 --- a/lib/wire/util.js +++ b/lib/wire/util.js @@ -73,38 +73,6 @@ var wireutil = { ) )) } -, makeDevicePropertiesMessage: function(serial, properties) { - return wireutil.envelope(new wire.DevicePropertiesMessage( - serial - , Object.keys(properties).map(function(key) { - return new wire.DeviceProperty(key, properties[key]) - }) - )) - } -, makeShellCommandMessage: function(channel, command) { - return wireutil.envelope(new wire.ShellCommandMessage( - channel - , command - )) - } -, makeShellCommandDataMessage: function(serial, seq, chunk) { - return wireutil.envelope(new wire.ShellCommandDataMessage( - serial - , seq - , chunk - )) - } -, makeShellCommandDoneMessage: function(serial) { - return wireutil.envelope(new wire.ShellCommandDoneMessage( - serial - )) - } -, makeShellCommandFailMessage: function(serial, reason) { - return wireutil.envelope(new wire.ShellCommandFailMessage( - serial - , reason - )) - } } module.exports = wireutil