Explain MasterServer.MasterApplication, MasterServer.GameApplication, GameServer.GameApplication

Options
johnny_tictoc
edited February 2017 in Photon Server
First of all, apologies for having too many questions. I'm trying my best to wrap my head around the design of the Loadbalancing server. My plan is to extend it the suit the needs of our game.

I'm looking at src-server/Loadbalancing. Can someone explain the relationship between these 3 applications:
1. MasterServer.MasterApplication
2. MasterServer.GameApplication
3. GameServer.GameApplication

Comments

  • chvetsov
    Options
    hi, johnny_tictoc
    yeah, totaly agree names are confusing

    so, 1 and 3 are derived from ApplicationBase. this classes are desribing photon application/server application it self. those two like class Program fror C# application

    2. better name is LogicApplication. this is somewhat related to your game. in general your server may handle few titles like chess, pocker, snooker and so one. all this are different MasterServer.GameApplication's. instances of this class contain information related to one title.

    is it clear?

    best,
    ilya
  • Yes, thank you! As I understand, I'm probably only gonna be needing to extend from GameServer.GameApplication.