diff --git a/pymodbus/interfaces.py b/pymodbus/interfaces.py index 8587e94e2..606798d21 100644 --- a/pymodbus/interfaces.py +++ b/pymodbus/interfaces.py @@ -151,6 +151,14 @@ def buildPacket(self, message): raise NotImplementedException( "Method not implemented by derived class") + def getResponseSize(self, message): + ''' Returns expected packet size of response for this request + + :returns: The expected packet size + ''' + raise NotImplementedException( + "Method not implemented by derived class") + class IModbusSlaveContext(object): '''