chtheis/webbit — comment on commit e0e928cddc7d04de08f8d48b9317543c9f47b172
File:  line 0
By chtheis:

Hi Joe!

Am 01.11.2011 22:51, schrieb Joe Walnes:
> Nice.

Thanks! :)

> Please can you also add some state checking.
>
> server.start();
> server.start(); // should throw IllegalStateException

Hmmm ...
Do you mean to extend the test for some state checking?
Then I don't know how to do this, there is no "isRunning" method.

Or do you mean to add a flag to NettyWebServer itself, indicating
whether the server is running or not? E.g. check if bootstrap == null in
the start method? So starting the server twice will throw an
IllegalStateException?

Best regards

Christoph