Rename server_connector to uplink

This commit is contained in:
R. Richard 2019-06-28 17:34:22 +02:00 committed by Kristóf Tóth
parent aafd145fc5
commit f94c5b0c37
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ class MessageSender:
Provides mechanisms to send messages to our frontend messaging component.
"""
def __init__(self):
self.server_connector = TFWServerUplinkConnector()
self.uplink = TFWServerUplinkConnector()
self.key = 'message'
self.queue_key = 'queueMessages'
@ -23,7 +23,7 @@ class MessageSender:
'message': message
}
}
self.server_connector.send_message(message)
self.uplink.send_message(message)
def queue_messages(self, originator, messages):
"""
@ -40,7 +40,7 @@ class MessageSender:
]
}
}
self.server_connector.send_message(message)
self.uplink.send_message(message)
@staticmethod
def generate_messages_from_queue(queue_message):