simpledali.socketdali
Module Contents
Classes
A DataLink over a normal socket. |
API
- class simpledali.socketdali.SocketDataLink(host, port, packet_size=-1, dlproto=DLPROTO_1_0, verbose=False)
Bases:
simpledali.abstractdali.DataLinkA DataLink over a normal socket.
This uses a port number often specified in ringservers’s conf as a DataLinkPort, but can also be specified as a ListenPort as long as it includes all or DataLink as the type.
Initialization
init DataLink. Packet_size and dlproto can be set, or can be acquired from the server via the capabilities response within id()
- async createDaliConnection()
- async send(header, data)
- async parseResponse()
- isClosed()
- async close()
- _force_close()