diff --git a/communicator.py b/communicator.py index 4c8b585..dd8c348 100644 --- a/communicator.py +++ b/communicator.py @@ -3,7 +3,7 @@ import requests """ -Main Flask RESTful API +Communicator module """ __author__ = "@tormakris" @@ -41,4 +41,12 @@ class Communicator: Readiness probe primary consumer. :return: """ - pass \ No newline at end of file + pass + + def checkconsumer(self, consumer: str) -> bool: + """ + Readiness probe of a prticular consumer. + :param consumer: + :return: + """ + pass diff --git a/messagesender.py b/messagesender.py index cd81501..0a86e5c 100644 --- a/messagesender.py +++ b/messagesender.py @@ -17,7 +17,6 @@ class MessageSender: """ Üzenetek küldéséért felelős komponens. """ - id def __init__(self): """ @@ -43,7 +42,6 @@ class MessageSender: self.id += random.randrange(10000) data = self.randomString(p) - #print(str(self.id) + " " + str(data)) return str(self.id) + " " + str(data) pass