Method
__init__
(self,
basecls=None, # type: Optional[Type[Packet]]
external_obj_pipe=None # type: Optional[ObjectPipe[bytes]]
)
Source from the content-addressed store, hash-verified
| 139 | """ |
| 140 | |
| 141 | def __init__(self, |
| 142 | basecls=None, # type: Optional[Type[Packet]] |
| 143 | external_obj_pipe=None # type: Optional[ObjectPipe[bytes]] |
| 144 | ): |
| 145 | # type: (...) -> None |
| 146 | super(UnstableSocket, self).__init__(basecls, external_obj_pipe) |
| 147 | self.no_error_for_x_rx_pkts = 10 |
| 148 | self.no_error_for_x_tx_pkts = 10 |
| 149 | |
| 150 | def send(self, x): |
| 151 | # type: (Packet) -> int |
Callers
nothing calls this directly
Tested by
no test coverage detected