Reference to Command Dictionary

Sep 29, 2012 at 7:38 AM

Trying to find a list of all subprotocol commands loaded.  This will allow us to generate a list of all available client commands during server startup, create a json or xml file to be returned as part of our Help command. 

I traced through WebAppServer initialization on SetupCommands() -> SetupSubProtocols() -> DiscoverCommands(), eventually finding this is where m_CommandDict gets loaded. But SetupCommands() gives me a reference to discoveredCommands which is not the same as the m_CommandDict dictionary.  After all the command assemblies have been loaded, can i get a reference to the m_CommandDict dictionary of all loaded commands for the WebAppServer?Any ideas? Thanks!

Sep 29, 2012 at 1:13 PM

No, the exact name of SuperWebSocket's commands should be sub commands, all sub commands come from sub protocol. Could you take a look at sub protocol's implementation?