Interface IServerStrategy

All Known Implementing Classes:
GenerateMazeStrategy, SolveMazeStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IServerStrategy
What the server does with a connected client's streams. One strategy per "endpoint" (generate a maze, solve a maze, ...). The strategy does not own the socket and must not close the streams it's handed — MyServer closes the socket for it.