Constructor. Args: output: output file object.
(self, state, output, *args, **kwargs)
| 677 | class ShellWebSocketClient(SSLEnabledWebSocketBaseClient): |
| 678 | |
| 679 | def __init__(self, state, output, *args, **kwargs): |
| 680 | """Constructor. |
| 681 | |
| 682 | Args: |
| 683 | output: output file object. |
| 684 | """ |
| 685 | super().__init__(state, *args, **kwargs) |
| 686 | self._output = output |
| 687 | self._input_thread = threading.Thread(target=self._FeedInput) |
| 688 | self._stop = threading.Event() |
| 689 | |
| 690 | def handshake_ok(self): |
| 691 | pass |