Hello @ralphh,
The source on TREP 2.6 is often referred to as provider, you will find lots of info on this portal on provider development, and I would not go with RFA API if today I was writing a new provider.
Instead, I would code it in EMA. EMA API belongs to Elektron Suite of APIs and is newer, more efficient, will less coding effort required.
EMA consumer and provider applications work with TREP 2.6.
I would start with EMA getting-started materials, for example
EMA Non Interactive Provider Tutorials for step-by-step to creating a provider.
There are similar materials on EMA C++ provider available Elektron C++ area.