:py:mod:`pywebui.tcpip.devices` =============================== .. py:module:: pywebui.tcpip.devices Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: pywebui.tcpip.devices.Device pywebui.tcpip.devices.DeviceMethods .. py:class:: Device(attrs) Device object. .. attribute:: deviceSocket the device socket. :type: str .. attribute:: localPort the local port of device. :type: int .. attribute:: remoteHost the remote host of device. :type: str .. attribute:: remotePort the remote port of device. :type: int .. attribute:: service the service of device. :type: str .. attribute:: type the type of device. :type: str .. py:class:: DeviceMethods Encapsulates methods for manage devices. .. py:method:: get_devices(self) -> List[Device] Returns the list of all devices. .. py:method:: get_device(self, name) -> Device Returns details for selected device.