dlsantos / dnp3

Automatically exported from code.google.com/p/dnp3
0 stars 0 forks source link

Refactor slave to use task structure similar to master #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Probably for 0.9.6 or > release.

Original issue reported on code.google.com by jadamcrain on 29 Jun 2011 at 12:57

GoogleCodeExporter commented 9 years ago
Is it possible to explain what do you mean by «Refactor slave to use task 
structure similar to master»?

Regards,
Pascal

Original comment by paradis....@gmail.com on 29 Jun 2011 at 1:38

GoogleCodeExporter commented 9 years ago
The master makes use of a set of classes called the "task framework" to 
schedule what it does and when (i.e. polls, controls, reset iin) etc. This can 
best be seen in the MasterSchedule class:

https://github.com/gec/dnp3/blob/master/DNP3/MasterSchedule.cpp

The slave does not, but since we added the vto feature, there are enough things 
that the slave has to do to justify refactoring the slave to use this common 
set of classes.

Original comment by jadamcrain on 29 Jun 2011 at 11:46