coherence.upnp.core.soap_service (module)¶
Soap Service¶
A custom implementation of twisted.web.soap.SOAPPublisher
, but
removing the SOAPpy dependency.
Note
SOAP is a simple Object Access Protocol, for actually calling actions.
errorCode
¶
Custom exception for class UPnPPublisher
UPnPPublisher
¶
Based upon twisted.web.soap.SOAPPublisher
-
class
UPnPPublisher
(*args, **kwargs)[source]¶ Bases:
eventdispatcher.eventdispatcher.EventDispatcher
,twisted.web.resource.Resource
,coherence.log.LogAble
- Based upon twisted.web.soap.SOAPPublisher and
extracted to remove the SOAPpy dependency
UPnP requires headers and OUT parameters to be returned in a slightly different way than the SOAPPublisher class does.
-
Changed in version 0.9.0:
Migrated from extern.louie to EventDispatcher
The emitted events changed:
- UPnPTest.Control.Client.CommandReceived => control_client_command_received
-
logCategory
= 'soap'¶
-
isLeaf
= 1¶
-
encoding
= 'UTF-8'¶
-
envelope_attrib
= None¶