Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#Client# Client stubs and definitions, such as structs, enums, etc. import workshop #Skeleton# Skeleton infrastructure for server implementation import workshop__POA #Base# Base component implementation from Acspy.Servants.ACSComponent import ACSComponent #Services# Services provided by the container to the component from Acspy.Servants.ContainerServices import ContainerServices #Basic# Basic component lifecycle (initialize, execute, cleanUp and aboutToAbort methods) from Acspy.Servants.ComponentLifecycle import ComponentLifecycle class HelloComponentImpl(workshop__POA.HelloComponent, ACSComponent, ContainerServices, ComponentLifecycle): def __init__(self): ACSComponent.__init__(self) ContainerServices.__init__(self) self._logger = self.getLogger() def printHello(self): print("Just printing 'Hello World!'") return "Hello World!" |
...