Example #1
0
    def __init__(self, argument_parser=None):
        EventBotClient.__init__(self, "Socket", argument_parser)

        print("TCP Socket Client server now listening on %s:%d" % (self._host, self._port))
        self._server_socket = self.create_socket_connection(self._host, self._port, self._queue, self._max_buffer)

        self._renderer = JSONRenderer(self)
Example #2
0
    def __init__(self, argument_parser=None):
        self._host = None
        self._port = None
        self._queue = None
        self._max_buffer = None
        self._server_socket = None
        self._client_connection = None

        EventBotClient.__init__(self, "Socket", argument_parser)

        if self._host is not None and \
                self._port is not None and \
                self._queue is not None:
            outputLog(
                self, "TCP Socket Client server now listening on %s:%d" %
                (self._host, self._port))
            self._server_socket = self.create_socket_connection(
                self._host, self._port, self._queue, self._max_buffer)
            self._renderer = JSONRenderer(self)

        else:
            outputLog(
                self,
                "TCP Socket Client configuration not defined, unable to create socket!"
            )
Example #3
0
    def __init__(self, argument_parser=None):
        EventBotClient.__init__(self, "Socket", argument_parser)

        print("TCP Socket Client server now listening on %s:%d"%(self._host, self._port))
        self._server_socket = self.create_socket_connection(self._host, self._port, self._queue, self._max_buffer)

        self._renderer = JSONRenderer(self)
Example #4
0
    def __init__(self, argument_parser=None):
        self.running = False
        EventBotClient.__init__(self, "Console", argument_parser)

        # Variables added for Thesis
        self.user_history = ""
        self.question_number = 0
        self.user_formality = 0
        self.question = ""
        self.filename = "user_results_v2.txt"
Example #5
0
 def __init__(self, argument_parser=None):
     self.running = False
     EventBotClient.__init__(self, "Console", argument_parser)
Example #6
0
 def __init__(self, discord_client: DiscordClient, argument_parser=None):
     self._discord_client = discord_client
     EventBotClient.__init__(self, "Discord", argument_parser)
Example #7
0
 def __init__(self, argument_parser=None):
     self.running = False
     EventBotClient.__init__(self, "Console", argument_parser)
     self._renderer = TextRenderer(self)
Example #8
0
 def __init__(self, id, argument_parser=None):
     EventBotClient.__init__(self, id, argument_parser)
     self.prior = False
     self.ran = False
     self.post = False
Example #9
0
 def __init__(self, id, argument_parser=None):
     EventBotClient.__init__(self, id, argument_parser)
Example #10
0
 def __init__(self, id, argument_parser=None):
     EventBotClient.__init__(self, id, argument_parser)
Example #11
0
 def __init__(self, id, argument_parser=None):
     EventBotClient.__init__(self, id, argument_parser)
     self.prior = False
     self.ran = False
     self.post = False
Example #12
0
 def __init__(self, argument_parser=None):
     self._description = "Programy AIML2.x Console Client"
     self.running = False
     EventBotClient.__init__(self, "Console", argument_parser)
Example #13
0
 def __init__(self, argument_parser=None):
     self.running = False
     EventBotClient.__init__(self, "Console", argument_parser)
Example #14
0
 def __init__(self, argument_parser=None):
     print("Initiating ROS-Node Client...")
     self.running = False
     EventBotClient.__init__(self, "rosnode", argument_parser)