Driver key classes / template?

Hi all,

I got the SDK and example project, however I’m still having a little trouble getting started.

Could anyone let me know which are the key classes that need to be implemented for a simple driver?

Many thanks,
Ivan

The driver itself will need to implement the Driver interface. You can extend from AbstractDriver to have most of the work of scheduling and keeping track of status.

If you are making a driver that will communicate with a PLC then you can extend from AbstractNioDriver to have most of the networking details taken care of for you.

Any module that provides a driver module will need hook that implements GatewayModuleHook. You can extend from AbstractDriverModuleHook to have most of those details taken care of. AbstractDriverModuleHook only asks that you supply the DriverMeta describing your Driver.

Awesome, thank you Kevin.