The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 3901d720 authored by legoc's avatar legoc
Browse files

(split) Renamed SHOW_ALL into APPS

parent 22a0c63b
......@@ -342,7 +342,7 @@ std::vector<application::Info> Server::getApplicationInfos() const {
vector<application::Info> infos;
unique_ptr<zmq::message_t> reply = m_requestSocket->request(m_impl->createShowAllRequest());
unique_ptr<zmq::message_t> reply = m_requestSocket->request(m_impl->createAppsRequest());
// Get the JSON response.
json::Object response;
......
......@@ -150,11 +150,11 @@ std::string ServicesImpl::createAllAvailableRequest() const {
return request.toString();
}
std::string ServicesImpl::createShowAllRequest() const {
std::string ServicesImpl::createAppsRequest() const {
json::StringObject request;
request.pushKey(message::TYPE);
request.pushInt(message::SHOW_ALL);
request.pushInt(message::APPS);
return request.toString();
}
......
......@@ -42,7 +42,7 @@ public:
std::string createConnectRequest(const std::string& name) const;
std::string createIsAliveRequest(int id) const;
std::string createAllAvailableRequest() const;
std::string createShowAllRequest() const;
std::string createAppsRequest() const;
std::string createStreamStatusRequest() const;
std::string createSetStatusRequest(int id, int32_t state) const;
std::string createGetStatusRequest(int id) const;
......
......@@ -29,7 +29,7 @@ namespace message {
const int START = 2;
const int STOP = 3;
const int CONNECT = 4;
const int SHOW_ALL = 5;
const int APPS = 5;
const int SHOW = 6;
const int ENABLE_STREAM = 7;
const int IS_ALIVE = 8;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment