I do so much work that I forgot what to summarize here 
So before, everything is placed in TCPClient, which is fine for hard-coded packets.
But now, I’m making the dynamic packet translating for multiple version supports. And while making it, it need reference from TCPClient, then TCPClient need to a reference of it and so on…
So I have split the functionality into corresponding space. So now, each of class has its own responsibility:
- TCPClient for throwing and receiving packets through TCP connection
- VersionCodec for translating packets
- Dispatcher for handling packet
- SharedState for holding states
So that is the whole update. Hope youre enjoy your day, also this project :D
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.