I had developed a windows application using C# (.Net). I have two forms for login and game dashboard. I have defined the ElectroServer Instance in my common class file which i am using in both the pages. Following is the flow of the application, as soon as the user logs in following is the sequence of the API calls:
1. Instantiate ES Instance. add listeners, call connect method.
2. On successful ConnectionResponse send LoginRequest
3. On successful LoginResponse redirect to next form (UI)
On game dashboard (UI) page i try to use the same ES instance that is globally defined in the common class file as used in the login (UI) page. On this second (UI) page when i check for the ES instance connected flag, it shows true. But, i am not able to add new event listeners to the same ES instance for handling events requested in the game dasboard (UI) page.
In brief the issue is how to add event listeners for multiple (UI) pages with plugin request being managed on these pages separately.
Can somebody please help me out urgently with this?


Reply With Quote
