007. Server2Server - Creating the Handlers

In Part 6 we covered the creation of the SubServerCollection. Its job was to help the Master Server keep track of all the Sub Servers connected to it. In this chapter we cover the Handlers that are used by the Sub Server to deal with Operation Requests, Operation Responses, and Events. We also add in the SubServerCollection to the Master Server and call the OnConnect and OnDisconnect from the IncomingSubServerPeer class when we finish registering and before we disconnect.

Comments

lazalong's picture

Hey

You added in the SubServer class the fields: RequestHandlers, EventHandlers and OperationHandlers.
You know don't you that those are NOT in the git code?

Yes, the git code is no where close to server2server code. The git code was my personal code that i was developing before i did the video code. I wanted to make sure certain concepts worked first. That is also why there hasn't been an update in a long time with the git code.