Class c.u.c.e.EventSubscriptionServer(resource.Resource, log.Loggable):

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

we receive a subscription request
{'callback': '<http://192.168.213.130:9083/BYvZMzfTSQkjHwzOThaP/ConnectionManager>',
 'host': '192.168.213.107:30020',
 'nt': 'upnp:event',
 'content-length': '0',
 'timeout': 'Second-300'}

modify the callback value
callback = callback[1:len(callback)-1]
and pack it into a subscriber dict

{'uuid:oAQbxiNlyYojCAdznJnC':
    {'callback': '<http://192.168.213.130:9083/BYvZMzfTSQkjHwzOThaP/ConnectionManager>',
     'created': 1162374189.257338,
     'timeout': 'Second-300',
     'sid': 'uuid:oAQbxiNlyYojCAdznJnC'}}

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
77 Method __init__ Undocumented
87 Method render_SUBSCRIBE Undocumented
125 Method render_UNSUBSCRIBE 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
77 Method __init__ Undocumented
90 Method critical Undocumented
671 Method debug Log a debug message. Used for debugging.
685 Method doLog Log a message at the given level, with the possibility of going
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.
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
87 Method render_SUBSCRIBE Undocumented
125 Method render_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, service): (source)
Undocumented
def render_SUBSCRIBE(self, request): (source)
Undocumented
def render_UNSUBSCRIBE(self, request): (source)
Undocumented
API Documentation for Coherence, generated by pydoctor at 2007-12-08 21:02:38.