(self)
| 196 | DEFAULT_TABLE_SIZE = 4096 |
| 197 | |
| 198 | def __init__(self): |
| 199 | self._tcp = MIB_TCPTABLE_OWNER_PID(self.DEFAULT_TABLE_SIZE) |
| 200 | self._tcp_size = ctypes.wintypes.DWORD(self.DEFAULT_TABLE_SIZE) |
| 201 | self._tcp6 = MIB_TCP6TABLE_OWNER_PID(self.DEFAULT_TABLE_SIZE) |
| 202 | self._tcp6_size = ctypes.wintypes.DWORD(self.DEFAULT_TABLE_SIZE) |
| 203 | self._map = {} |
| 204 | |
| 205 | def __getitem__(self, item): |
| 206 | return self._map[item] |
nothing calls this directly
no test coverage detected