betfair/cougar

Use ProtocolRegistry and stop Protocol being an enum

Opened this issue · 0 comments

Whilst implementing #82 I realised that Protocol is still an enum, which makes it rather hard to add new protocols. As part of the work for that I introduced a new registry (ProtocolRegistry) in order to be able to find protocols by paradigm. This class needs fleshing out and to be used by transports/protocols as they initialise.