This commit is contained in:
parent
b13b7884b2
commit
ee9f62c868
@ -3,7 +3,7 @@
|
||||
import requests
|
||||
|
||||
"""
|
||||
Main Flask RESTful API
|
||||
Communicator module
|
||||
"""
|
||||
|
||||
__author__ = "@tormakris"
|
||||
@ -42,3 +42,11 @@ class Communicator:
|
||||
:return:
|
||||
"""
|
||||
pass
|
||||
|
||||
def checkconsumer(self, consumer: str) -> bool:
|
||||
"""
|
||||
Readiness probe of a prticular consumer.
|
||||
:param consumer:
|
||||
:return:
|
||||
"""
|
||||
pass
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user