Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pseuco
m3
Commits
f19d28a5
Commit
f19d28a5
authored
May 28, 2018
by
Fabian Kosmale
Browse files
renamed message type
parent
d884cc76
Pipeline
#2445
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
f19d28a5
...
...
@@ -115,7 +115,7 @@ class M3ServerProtocoll(WebSocketServerProtocol):
"type"
:
"error"
,
"errorMessage"
:
str
(
e
),
}
elif
decoded_message
[
"type"
]
==
"
lis
tAll
Read
s"
:
elif
decoded_message
[
"type"
]
==
"
ge
tAll
Execution
s"
:
mem_model
=
{
"seqConsist"
:
MemoryModel
.
SequentialConsistency
,
"weak"
:
MemoryModel
.
WeakConsistency
...
...
@@ -135,7 +135,7 @@ class M3ServerProtocoll(WebSocketServerProtocol):
print
(
decoded_message
)
reply
=
{
"type"
:
"error"
,
"errorMessage"
:
"%s is not implemented"
"errorMessage"
:
"%s is not implemented"
%
"write seen adding"
}
else
:
reply
=
{
...
...
Write
Preview
Supports
Markdown
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