(self, port: int, location: Point)
| 12 | |
| 13 | # TODO post_init() method to clean up child classes |
| 14 | def __init__(self, port: int, location: Point): |
| 15 | self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
| 16 | self.socket.connect((HOST, port)) |
| 17 | self.location: Point = location |
| 18 | |
| 19 | def send(self, msg: str) -> str: |
| 20 | self.socket.sendall(str.encode(msg + ";")) |
nothing calls this directly
no outgoing calls
no test coverage detected