Skip to content

Gurankio/java-stateful-sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-stateful-sockets

This implementation interprets protocols as state machines.

State machines are considerably hard to express in code and are usually implemented with graph like structures leading to non-clean code that is usually har to maintain.

In this implementation I tried for a hybrid approach, functional and object-oriented, using functions as the state themselves, building an implicit graph from their subsequent call, while using common OO patterns to properly express constraints in Java.

I've found this way easier to use, but it still needs some polishing here and there.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages