Commit 6732c381 authored by legoc's avatar legoc
Browse files

(split) Renamed ALL_AVAILABLE into LIST

parent 988c6d84
......@@ -305,7 +305,7 @@ std::vector<application::Configuration> Server::getApplicationConfigurations() c
vector<application::Configuration> configs;
unique_ptr<zmq::message_t> reply = m_requestSocket->request(m_impl->createAllAvailableRequest());
unique_ptr<zmq::message_t> reply = m_requestSocket->request(m_impl->createListRequest());
// Get the JSON response.
json::Object response;
......
......@@ -141,11 +141,11 @@ std::string ServicesImpl::createConnectRequest(const std::string& name) const {
return request.toString();
}
std::string ServicesImpl::createAllAvailableRequest() const {
std::string ServicesImpl::createListRequest() const {
json::StringObject request;
request.pushKey(message::TYPE);
request.pushInt(message::ALL_AVAILABLE);
request.pushInt(message::LIST);
return request.toString();
}
......
......@@ -41,7 +41,7 @@ public:
std::string createKillRequest(int id) const;
std::string createConnectRequest(const std::string& name) const;
std::string createIsAliveRequest(int id) const;
std::string createAllAvailableRequest() const;
std::string createListRequest() const;
std::string createAppsRequest() const;
std::string createStreamStatusRequest() const;
std::string createSetStatusRequest(int id, int32_t state) const;
......
......@@ -37,7 +37,7 @@ namespace message {
const int WRITE_INPUT = 10;
const int KILL = 11;
const int STATUS = 12;
const int ALL_AVAILABLE = 13;
const int LIST = 13;
const int SET_STATUS = 14;
const int GET_STATUS = 15;
const int CREATE_PUBLISHER = 16;
......
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