Skip to content
Snippets Groups Projects
Commit fc128494 authored by jkerdreu's avatar jkerdreu
Browse files

add send_request() which is missing..

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1537 b32b6428-25c9-4566-ad07-03861ab6144f
parent 888b42b9
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,10 @@ class Engine(object):
def send_msg(self, msg):
self.network.send(msg)
def send_request(self,dev,targets,action,body = None):
msg = self.msg_factory.build_msg(dev, targets, 'request', action, body)
self.queue_tx(msg)
def send_reply(self, dev, targets, action, body=None):
msg = self.msg_factory.build_msg(dev, targets, 'reply', action, body)
self.queue_tx(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment