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
680aa694
Commit
680aa694
authored
Oct 16, 2020
by
legoc
Browse files
(split) Cameo server implemented new port requests
parent
2837749f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/message/Message.h
View file @
680aa694
...
...
@@ -58,6 +58,10 @@ namespace message {
const
int
STORE_KEY_VALUE
=
31
;
const
int
GET_KEY_VALUE
=
32
;
const
int
REMOVE_KEY
=
33
;
const
int
REQUEST_PORT
=
34
;
const
int
UNAVAILABLE_PORT
=
35
;
const
int
RELEASE_PORT
=
36
;
const
int
PORTS
=
37
;
namespace
Event
{
constexpr
const
char
*
SYNC
=
"SYNC"
;
...
...
@@ -280,6 +284,30 @@ namespace message {
constexpr
const
char
*
KEY
=
"key"
;
// string
constexpr
const
char
*
VALUE
=
"value"
;
// string
}
namespace
RequestPortRequest
{
constexpr
const
char
*
ID
=
"id"
;
// int32
}
namespace
UnavailablePortRequest
{
constexpr
const
char
*
ID
=
"id"
;
// int32
constexpr
const
char
*
PORT
=
"port"
;
// int32
}
namespace
ReleasePortRequest
{
constexpr
const
char
*
ID
=
"id"
;
// int32
constexpr
const
char
*
PORT
=
"port"
;
// int32
}
namespace
PortInfo
{
constexpr
const
char
*
PORT
=
"port"
;
// int32
constexpr
const
char
*
STATUS
=
"status"
;
// string
constexpr
const
char
*
APPLICATION_NAME_ID
=
"applicationNameId"
;
// string
}
namespace
PortInfoListResponse
{
constexpr
const
char
*
PORT_INFO
=
"portInfo"
;
// multiple PortInfo
}
}
}
...
...
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