Module: xmlclient | swocket/xmlclient.py | ||||
---|---|---|---|---|---|
An abstract class for use when implementing a client for the swocket protocol. It is derived from asynchat.async_chat, and relies on xml.dom.minidom to handle the xml data packets from the server. The methods you should use are: handle_close() - kill the connection push(data) - push an entire data packet to the server (termination is automatic) pushXML(doc) - push an xml.dom.minidom type document to the server
|