Unix Domain Socket (UDS) server class.
More...
Unix Domain Socket (UDS) server class.
UdsServer is needed for updating interface parameters in real time by receiving commands via UDS.
| def Transport.UdsServer.__init__ |
( |
|
self, |
|
|
|
server_address |
|
) |
| |
Constructor.
- Parameters
-
| self | The object pointer. |
| server_address | UDS file location. |
- Returns
- None
| def Transport.UdsServer.quit |
( |
|
self | ) |
|
Stop and quit the thread operation.
- Parameters
-
- Returns
- None
| def Transport.UdsServer.run |
( |
|
self | ) |
|
Main thread routine.
- Parameters
-
- Returns
- None
| def Transport.UdsServer.set_ip_addr4 |
( |
|
self, |
|
|
|
ip4 |
|
) |
| |
Set IPv4 address to the virtual interface.
- Parameters
-
| self | The object pointer. |
| ip4 | IPv4 address in string representation. |
- Returns
- None
| def Transport.UdsServer.set_ip_addr6 |
( |
|
self, |
|
|
|
ip6 |
|
) |
| |
Set IPv6 address to the virtual interface.
- Parameters
-
| self | The object pointer. |
| ip6 | IPv6 address in string representation. |
- Returns
- None
| Transport.UdsServer.FNULL |
Create file descriptor for forwarding all the output to /dev/null from subprocess calls.
| Transport.UdsServer.iface |
Store the name of the virtual interface.
| Transport.UdsServer.running |
Thread running state bool() flag.
| Transport.UdsServer.server_address |
The documentation for this class was generated from the following file: