Remove Features
should be re-implemented in a virtual per-connection device Change-Id: Ic752cf75218ecf802318fa53ba5faf5a4f31d948
This commit is contained in:
parent
4b0388d21b
commit
0cf2633717
@ -466,13 +466,6 @@ class Dispatcher(object):
|
||||
def handle_RequestAsyncData(self, conn, msg):
|
||||
return Error('AsyncData is not (yet) supported')
|
||||
|
||||
def handle_ListOfFeatures(self, conn, msg):
|
||||
# no features supported (yet)
|
||||
return ListOfFeaturesReply([])
|
||||
|
||||
def handle_ActivateFeature(self, conn, msg):
|
||||
return Error('Features are not (yet) supported')
|
||||
|
||||
def unhandled(self, msgname, conn, msg):
|
||||
"""handler for unhandled Messages
|
||||
|
||||
|
@ -161,24 +161,6 @@ class AsyncDataUnit(ReadParamReply):
|
||||
ARGS = ['devname', 'pname', 'value', 'timestamp', 'error', 'unit']
|
||||
|
||||
|
||||
class ListOfFeaturesRequest(Request):
|
||||
pass
|
||||
|
||||
|
||||
class ListOfFeaturesReply(Reply):
|
||||
ARGS = ['features']
|
||||
|
||||
|
||||
class ActivateFeatureRequest(Request):
|
||||
ARGS = ['feature']
|
||||
|
||||
|
||||
class ActivateFeatureReply(Reply):
|
||||
# Ack style or Error
|
||||
# maybe should reply with active features?
|
||||
pass
|
||||
|
||||
|
||||
# ERRORS
|
||||
########
|
||||
|
||||
@ -232,9 +214,3 @@ class HelpReply(Reply):
|
||||
pass
|
||||
|
||||
|
||||
FEATURES = [
|
||||
'Feature1',
|
||||
'Feature2',
|
||||
'Feature3',
|
||||
'Future',
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user