Tilroe / Mouse-Mayhem

Manifest mayhem with mice!
1 stars 0 forks source link

Implement client connection on server as object pool design pattern #7

Closed Tilroe closed 10 months ago

Tilroe commented 10 months ago

Currently, the server simply has a vector of clients that it keep hold of. Instead, it should have a ClientConnectionPool object that handles client connection start up, shut down, and command handling. Object pools do have a limited pool of resources, but it might be possible to dynamically increase / decrease the size.

Object Pool