How can you use Commands with EasyClient ?
How can you use Commands with EasyClient ? is it possible at all?
Of course, Yes.
But you need do it by yourself. Define your command interface and commands, and then dispatch packages to commands,
Ah ok. i was hoping there was or will be an automatic system for invoking ExecuteCommand on the matching class for a Key. So in order to get this done i will have to implement a dispatcher using reflection and parse the incoming key.
Are you planning to implement such a feature?
Probably yes, it can be shared between server side and client side.
Thats what is discouraging me to do it myself. The work is more or less already done. You just have to adopt the interfaces i guess.
Thanks for the quick answers.
Hi Kerry Awesome work that you did on SuperSocket, although I was wondering the same question as Akku and if there was a way to implement the same kind of feature as dynamically loading assemblies but for the ClientEngine commands ? Any luck with this Akku ? I tried to code it myself but I must admit I am struggling applying the same model using reflection and calling Commands based on the Key that is returned from the ReceiveFilter. Are Akku and I the only 2 people trying to achieve such thing ?