method _getCommand() needs to be called prior to $sData, or $sData is empty.