This week I made some changes required to develop appropriate finite state machine graph. We can now see that `EstablishingWebsocketConnection` is an alternative state to `EstablisingTcpConnection`.

The corresponding graph is as shown below,

  Few other significant changes are:

  • The previous `handshake()` method is now `connect()`. And corresponding to it, closingHandshake() is renamed to `disconnect()`.
  • `AbstractWebsocketImpl` is now `AbstractWebsocket`.
  • Have started adding test cases.

  Now that we have the websocket codebase in better shape than what it was a few weeks before, I feel that this is the right time to add documentation wherever necessary and also I will start writing test cases.

This was all for this week. Thank you for reading. See you next week.