Class c.u.c.s.SSDPServer(DatagramProtocol, log.Loggable):

Part of coherence.upnp.core.ssdp View Source View In Hierarchy

A class implementing a SSDP server. The notifyReceived and searchReceived methods are called when the appropriate type of datagram is received by the server.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
38 Method __init__ Undocumented
53 Method shutdown Make sure we send out the byebye notifications.
59 Method datagramReceived Handle a received multicast datagram.
87 Method register Register a service or device that this SSDP server will
118 Method unRegister Undocumented
127 Method isKnown Undocumented
130 Method notifyReceived Process a presence announcement. We just remember the
148 Method discoveryRequest Process a discovery request. The response must be sent to
186 Method doNotify Do notification
212 Method doByebye Do byebye
239 Method resendNotify Undocumented
244 Method subscribe Undocumented
247 Method unsubscribe Undocumented
253 Method callback Undocumented

Inherited from Loggable:

Line # Kind Name Docs
79 Method logFunction Overridable log function. Default just returns passed message.
90 Method critical Undocumented
96 Method msg Undocumented

Inherited from Loggable (via Loggable):

Line # Kind Name Docs
650 Method error Log an error. By default this will also raise an exception.
657 Method warning Log a warning. Used for non-fatal problems.
664 Method info Log an informational message. Used for normal operation.
671 Method debug Log a debug message. Used for debugging.
678 Method log Log a log message. Used for debugging recurring events.
685 Method doLog Log a message at the given level, with the possibility of going
709 Method warningFailure Log a warning about a Twisted Failure. Useful as an errback handler:
730 Method logObjectName Overridable object name function.
Line # Kind Name Docs
38 Method __init__ Undocumented
253 Method callback Undocumented
90 Method critical Undocumented
59 Method datagramReceived Handle a received multicast datagram.
671 Method debug Log a debug message. Used for debugging.
148 Method discoveryRequest Process a discovery request. The response must be sent to
212 Method doByebye Do byebye
685 Method doLog Log a message at the given level, with the possibility of going
186 Method doNotify Do notification
650 Method error Log an error. By default this will also raise an exception.
664 Method info Log an informational message. Used for normal operation.
127 Method isKnown Undocumented
678 Method log Log a log message. Used for debugging recurring events.
79 Method logFunction Overridable log function. Default just returns passed message.
730 Method logObjectName Overridable object name function.
96 Method msg Undocumented
130 Method notifyReceived Process a presence announcement. We just remember the
87 Method register Register a service or device that this SSDP server will
239 Method resendNotify Undocumented
53 Method shutdown Make sure we send out the byebye notifications.
244 Method subscribe Undocumented
118 Method unRegister Undocumented
247 Method unsubscribe Undocumented
657 Method warning Log a warning. Used for non-fatal problems.
709 Method warningFailure Log a warning about a Twisted Failure. Useful as an errback handler:
def __init__(self): (source)
Undocumented
def shutdown(self): (source)
Make sure we send out the byebye notifications.
def datagramReceived(self, data, (host, port)): (source)
Handle a received multicast datagram.
def register(self, manifestation, usn, st, location, server=SERVER_ID, cache_control='max-age=1800', silent=False, host=None): (source)
Register a service or device that this SSDP server will respond to.
def unRegister(self, usn): (source)
Undocumented
def isKnown(self, usn): (source)
Undocumented
def notifyReceived(self, headers, (host, port)): (source)
Process a presence announcement. We just remember the details of the SSDP service announced.
def discoveryRequest(self, headers, (host, port)): (source)
Process a discovery request. The response must be sent to the address specified by (host, port).
def doNotify(self, usn): (source)
Do notification
def doByebye(self, usn): (source)
Do byebye
def resendNotify(self): (source)
Undocumented
def subscribe(self, name, callback): (source)
Undocumented
def unsubscribe(self, name, callback): (source)
Undocumented
def callback(self, name, *args): (source)
Undocumented
API Documentation for Coherence, generated by pydoctor at 2007-12-08 21:02:38.