-app_set_state = (token, app_name, state, callback) ->
- exports.app_info token, app_name, (err, info) ->
- return callback err if err?
- info.state = state
- exports.app_set_info token, app_name, info, callback
-
-exports.app_start = (token, app_name, callback) ->
- app_set_state token, app_name, 'STARTED', callback
-
-exports.app_stop = (token, app_name, callback) ->
- app_set_state token, app_name, 'STOPPED', callback
-
-