Remove Features

should be re-implemented in a virtual per-connection device

Change-Id: Ic752cf75218ecf802318fa53ba5faf5a4f31d948
This commit is contained in:
Enrico Faulhaber 2016-08-31 11:05:57 +02:00
parent 4b0388d21b
commit 0cf2633717
2 changed files with 0 additions and 31 deletions

View File

@ -466,13 +466,6 @@ class Dispatcher(object):
def handle_RequestAsyncData(self, conn, msg): def handle_RequestAsyncData(self, conn, msg):
return Error('AsyncData is not (yet) supported') 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): def unhandled(self, msgname, conn, msg):
"""handler for unhandled Messages """handler for unhandled Messages

View File

@ -161,24 +161,6 @@ class AsyncDataUnit(ReadParamReply):
ARGS = ['devname', 'pname', 'value', 'timestamp', 'error', 'unit'] 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 # ERRORS
######## ########
@ -232,9 +214,3 @@ class HelpReply(Reply):
pass pass
FEATURES = [
'Feature1',
'Feature2',
'Feature3',
'Future',
]