class documentation

class Service(_SVC_):

View In Hierarchy

Service support class. This class provides the base for service classes. It is also an event handler to handle CSE-related events.

Inherited from Service:

Method __getattribute__ Override __getattribute__ to allow access to service endpoints by their endpoint name instead of the method name.
Method __init_subclass__ Initialize the service sub class, creating the service endpoint map by checking the methods marked by the @endpoint decorator.
Class Variable _pm_endpointMap Mapping of endpoint names to method names