adjust interface
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-03-29 16:53:50 +02:00
parent b13b7884b2
commit ee9f62c868
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,7 @@
import requests import requests
""" """
Main Flask RESTful API Communicator module
""" """
__author__ = "@tormakris" __author__ = "@tormakris"
@ -41,4 +41,12 @@ class Communicator:
Readiness probe primary consumer. Readiness probe primary consumer.
:return: :return:
""" """
pass pass
def checkconsumer(self, consumer: str) -> bool:
"""
Readiness probe of a prticular consumer.
:param consumer:
:return:
"""
pass

View File

@ -17,7 +17,6 @@ class MessageSender:
""" """
Üzenetek küldéséért felelős komponens. Üzenetek küldéséért felelős komponens.
""" """
id
def __init__(self): def __init__(self):
""" """
@ -43,7 +42,6 @@ class MessageSender:
self.id += random.randrange(10000) self.id += random.randrange(10000)
data = self.randomString(p) data = self.randomString(p)
#print(str(self.id) + " " + str(data))
return str(self.id) + " " + str(data) return str(self.id) + " " + str(data)
pass pass