Client.py – Client¶
Client module that sends reuqests and notifications to servers.
Classes¶
Client¶
-
class
Client.Client(config, q, writer, serverQueues, stopQueue, counter, attackers, verbose=False)[source]¶ Initialization of the client class.
Parameters: - config – Own client configuration.
- q – Own queue for receiving messages from servers.
- writer – Queue for writing out a packet.
- serverQueues – Queues of all available servers.
- stopQueues – A DONE is sent to this queue if on q a DONE is received.
- counter – Number of times all configured sending methods are used.
- attackers – Attacker Queue as the attacker is implemented as MitM.
- verbose – If set to True, more output is printed, default=False