Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
6732c381
Commit
6732c381
authored
Oct 09, 2020
by
legoc
Browse files
(split) Renamed ALL_AVAILABLE into LIST
parent
988c6d84
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/Server.cpp
View file @
6732c381
...
...
@@ -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
->
create
AllAvailable
Request
());
unique_ptr
<
zmq
::
message_t
>
reply
=
m_requestSocket
->
request
(
m_impl
->
create
List
Request
());
// Get the JSON response.
json
::
Object
response
;
...
...
src/impl/ServicesImpl.cpp
View file @
6732c381
...
...
@@ -141,11 +141,11 @@ std::string ServicesImpl::createConnectRequest(const std::string& name) const {
return
request
.
toString
();
}
std
::
string
ServicesImpl
::
create
AllAvailable
Request
()
const
{
std
::
string
ServicesImpl
::
create
List
Request
()
const
{
json
::
StringObject
request
;
request
.
pushKey
(
message
::
TYPE
);
request
.
pushInt
(
message
::
ALL_AVAILABLE
);
request
.
pushInt
(
message
::
LIST
);
return
request
.
toString
();
}
...
...
src/impl/ServicesImpl.h
View file @
6732c381
...
...
@@ -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
create
AllAvailable
Request
()
const
;
std
::
string
create
List
Request
()
const
;
std
::
string
createAppsRequest
()
const
;
std
::
string
createStreamStatusRequest
()
const
;
std
::
string
createSetStatusRequest
(
int
id
,
int32_t
state
)
const
;
...
...
src/message/Message.h
View file @
6732c381
...
...
@@ -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
;
...
...
Shervin Nourbakhsh
@nourbakhsh
mentioned in commit
46e44691
·
Apr 23, 2021
mentioned in commit
46e44691
mentioned in commit 46e44691a03808a23a464818487b0dd014a9c57e
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment