(self,*args)
| 43 | ): |
| 44 | |
| 45 | def __init__(self,*args): |
| 46 | if len(args) ==1: |
| 47 | address_info = socket.getaddrinfo(None, args[0], socket.AF_INET, socket.SOCK_STREAM)[0] |
| 48 | family, socket_type, proto, _, socket_address = address_info |
| 49 | server = socket.socket(family, socket_type, proto) |
| 50 | server.bind(socket_address) |
| 51 | server.listen(1) |
| 52 | print("Mix Start WebBot Service") |
| 53 | self.request, self.client_address = server.accept() |
| 54 | print("WebBot Client link succeeded") |
| 55 | else: |
| 56 | super().__init__(*args) |
| 57 | |
| 58 | @classmethod |
| 59 | def _build(self, listen_ip, listen_port: int, Debug: bool = True, driver_params: dict = {}) -> object: |
nothing calls this directly
no outgoing calls
no test coverage detected