This commit is contained in:
		@@ -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
 | 
			
		||||
        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