Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

S2SPeerBase vs InboundS2SPeer vs. OutboundS2SPeer

$
0
0
I need some clarification on your base objects if someone would be so kind:
I'm working on updating some server code I have to utilize the latest Photon Server SDK 4 from 3.1 or 3.2, cant remember exactly.

I've read here:
https://doc.photonengine.com/en/onpremise/current/version-history/upgrade-guide
That we should replace ServerPeerBase with S2SPeerBase. S2SPeerBase however is obsolete in favor of a specific implementation I guess, like Inbound or Outbound S2SPeerBase, but in this case I'm in a base class that will be inherited by both inbound server applications and outbound server applications.

Do I need to go change the entire architecture of my base classes to support these new abstract classes, or am I missing something?

There's nothing stopping me from using S2SPeerBase but it takes an InitResponse as the only exposed constructor which just didn't seem to be what I was looking for.

Thanks in advance!


Viewing all articles
Browse latest Browse all 1557

Latest Images

Trending Articles



Latest Images