Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
c298b4de
Commit
c298b4de
authored
Oct 26, 2017
by
Philip ABBET
Browse files
Remove deprecated code from 'MessageHandler'
parent
5e7b2fcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/message_handler.py
View file @
c298b4de
...
...
@@ -59,7 +59,6 @@ class ProxyMessageHandler(MessageHandler):
# implementations
self
.
callbacks
.
update
(
dict
(
wrt
=
self
.
write
,
idm
=
self
.
is_data_missing
,
oic
=
self
.
output_is_connected
,
))
...
...
@@ -101,17 +100,6 @@ class ProxyMessageHandler(MessageHandler):
self
.
socket
.
send
(
'ack'
)
def
is_data_missing
(
self
,
name
):
"""Syntax: idm output"""
logger
.
debug
(
'recv: idm %s'
,
name
)
output_candidate
=
self
.
_get_output_candidate
(
name
)
what
=
'tru'
if
output_candidate
.
isDataMissing
()
else
'fal'
logger
.
debug
(
'send: %s'
,
what
)
self
.
socket
.
send
(
what
)
def
output_is_connected
(
self
,
name
):
"""Syntax: oic output"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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