Skip to content

v1.0.3 Upgrading the Net

Latest

Choose a tag to compare

@KleeSup KleeSup released this 23 Oct 15:12
· 34 commits to master since this release

In this release, the hole net package on the client and core have been updated and upgraded by a lot of new features.
Full changelog:

Client

- AbstractRemoteCommunicator is now non-abstract and therefore renamed to RemoteCommunicator
- QueuedLocalCommunicator was added which implements LocalCommunicator and queues any incoming packets
- AbstractIntegratedServer now doesn't use generic for host object and has an own internal packet queue for host packets
- ClientServerBridge was added as a simple way to keep track of both local and remote communicator use cases

Core

- TypePacketProcessor has been implemented featuring a simple way to register packet processor functions
- PacketQueue and TypePacketQueue have been added for Connection-specific packet queuing and reading
- QueuedTypeListenerClient and QueuedTypeListenerServer have been added. Both implement Listener and feature packet queuing and processor management
- GameServer now keeps track of listeners and update listeners added to be handled in the main update()