The 3 conduits (low, normal, high priority) should only be exposed at the GameConnection level. Code at the level of GameSession should just be able to send a packet without worrying about the priority. The class deriving from GameSession should implement a method that provides the priority for a given packet so that Post() and friends can route it to the right conduit.
The 3 conduits (low, normal, high priority) should only be exposed at the
GameConnection
level. Code at the level ofGameSession
should just be able to send a packet without worrying about the priority. The class deriving fromGameSession
should implement a method that provides the priority for a given packet so thatPost()
and friends can route it to the right conduit.