Releases: redParrot17/redTCP
Json Framework Rewrite Release
- Removed com.google.code.gson from the project and replaced it with org.json
- Added a sendJson method
- Added ServerJsonListener and ClientJsonListener methods
- You no longer need to cast connections to server or client connections. The connections passed through the listener interfaces already pass the explicit connection types.
Termination Protection Release
The framework now detects if either side of the connection terminates unexpectedly.
In the event of termination...
- The
TcpServer
will raise a Connection Removed event and clean up what was left of the connection. - The
TcpClient
will automatically call theTcpClient#close
method.
Two new methods were added to the Connection class: Connection#asServerConnection
and Connection#asClientConnection
. Both return Optional<> versions of the Connection object wrapped as the specified extension.
Signed Release
Messages sent between the server and client now use signed encryption.
Connectivity Release
Added the ability to host the server and client on different computers.
New method: TcpServer#getServerAddress
returns InetAddress
Added additional constructors to the TcpServer
that add a new argument that allows you to specify the InetAddress
the server should bind to. (leave null if you just wish to keep it as localhost)
First Full Release
Client side and server side tcp server. Uses a very strong end to end encryption system for communication.
Initial Release
Initial upload of the core files
- server side
- client side