3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
16 from cmframework.apis import cmerror
19 class CMWSGICallbacks(object):
20 # pylint: disable=no-self-use, unused-argument
21 def handle_properties(self, rpc):
22 logging.error('handle_properties not implemented')
23 raise cmerror.CMError('Not implemented')
25 def handle_property(self, rpc):
26 logging.error('handle_property not implemented')
27 raise cmerror.CMError('Not implemented')
29 def handle_snapshots(self, rpc):
30 logging.error('handle_snapshots not implemented')
31 raise cmerror.CMError('Not implemented')
33 def handle_snapshot(self, rpc):
34 logging.error('handle_snapshot not implemented')
35 raise cmerror.CMError('Not implemented')
37 def handle_agent_activate(self, rpc):
38 logging.error('handle_agent_activate not implemented')
39 raise cmerror.CMError('Not implemented')
41 def handle_activate(self, rpc):
42 logging.error('handle_activate not implemented')
43 raise cmerror.CMError('Not implemented')
45 def handle_activator_disable(self, rpc):
46 logging.error('handle_activator_disable not implemented')
47 raise cmerror.CMError('Not implemented')
49 def handle_activator_enable(self, rpc):
50 logging.error('handle_activator_enable not implemented')
51 raise cmerror.CMError('Not implemented')
53 def handle_reboot(self, rpc):
54 logging.error('handle_reboot not implemented')
55 raise cmerror.CMError('Not implemented')
57 def handle_changes(self, rpc):
58 logging.error('handle_changes not implemented')
59 raise cmerror.CMError('Not implemented')