mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 13:41:31 +00:00
Rename server_connector to uplink
This commit is contained in:
parent
aafd145fc5
commit
f94c5b0c37
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user