lib/harmonyclient.js
function buildCommandIqStanza (command, body) {
  debug('buildCommandIqStanza for command "' + command + '" with body ' + body)

  return xmppUtil.buildIqStanza(
    'get'
    , 'connect.logitech.com'
    , 'vnd.logitech.harmony/vnd.logitech.harmony.engine?' + command
    , body
  )
}
function buildCommandIqStanza (command, body) {
  debug('buildCommandIqStanza for command "' + command + '" with body ' + body)

  return xmppUtil.buildIqStanza(
    'get'
    , 'connect.logitech.com'
    , 'vnd.logitech.harmony/vnd.logitech.harmony.engine?' + command
    , body
  )
}
function buildCommandIqStanza ( command , body ) { debug ( 'buildCommandIqStanza for command "' + command + '" with body ' + body ) return xmppUtil . buildIqStanza ( 'get' , 'connect.logitech.com' , 'vnd.logitech.harmony/vnd.logitech.harmony.engine?' + command , body ) }
Builds an IQ stanza containing a specific command with given body, ready to send to the hub.

@param command
@param body
@returns {Stanza}
Builds an IQ stanza containing a specific command with given body ready to send to the hub .