* @param port the port of the framing server
*/
public FramingClient(String host, int port) {
// setup input chain transformers
// channelReader -> byteBufferToString -> framing client
ByteBufferToStringTransformer byteBufferToStringTransformer =
new ByteBufferToStringTransformer();
channelReader.setNextForwarder(byteBufferToStringTransformer);
byteBufferToStringTransformer.setNextForwarder(
new FramingClientTransformer());
// setup output chain transformers
// stringToByteBuffer -> bytebuffertoarray -> framing ->
// buffer -> channelWriter