|
facebook360_dep
Facebook360 Depth Estimation Pipeline
|
Public Member Functions | |
| def | __init__ (self, hostname, port) |
| def | run (self, cmds) |
| def | run_script (self, path) |
| def | run_async (self, cmds) |
Public Attributes | |
| hostname | |
| port | |
A client for running commands synchronously over netcat.
Attributes:
hostname (str): IP of the host running the netcat server.
port (int): Port on which the netcat server is running.
| def scripts.render.network.NetcatClient.__init__ | ( | self, | |
| hostname, | |||
| port | |||
| ) |
Establishes a client that can be used to execute commands over netcat.
Args:
hostname (str): IP of the host running the netcat server.
port (int): Port on which the netcat server is running.
| def scripts.render.network.NetcatClient.run | ( | self, | |
| cmds | |||
| ) |
Synchronously runs a series of commands over netcat.
Args:
cmds (list[str]): Series of commands to run. All commands will run regardless
of failures of any.
Returns:
str: stdout from command execution.
| def scripts.render.network.NetcatClient.run_async | ( | self, | |
| cmds | |||
| ) |
Asynchronously runs a series of commands over netcat.
Args:
cmds (list[str]): Series of commands to run. All commands will run regardless
of failures of any.
| def scripts.render.network.NetcatClient.run_script | ( | self, | |
| path | |||
| ) |
| scripts.render.network.NetcatClient.hostname |
| scripts.render.network.NetcatClient.port |
1.8.15