netty/netty — pull request #247 by spullara (2012-03-30 17:55:34+00:00)
Title: Based on trustins changes, we can refactor this to be more direct

This moves the serialization of the Command to the constructor since commands are immutable. It also allows them to be written to the output channel buffer with a single write.