if (this.isStringCommand(magic1, magic2, magic3)) {
// Write a line break into the buffer so we mark the frame
in.writeBytes(Delimiters.lineDelimiter()[0]);
// Adjust the pipeline such that we use the command handler
pipeline.addLast(NAME_CHANNEL_HANDLER_FRAME_DECODER,
new DelimiterBasedFrameDecoder(2000, Delimiters.lineDelimiter()));
pipeline.addLast(NAME_CHANNEL_HANDLER_STRING_DECODER,
new StringDecoder(Charset.forName(WireProtocol.CHARSET)));
pipeline.addLast(NAME_CHANNEL_HANDLER_COMMAND, new StringCommandHandler());
pipeline.remove(NAME_CHANNEL_HANDLER_ACTION_CONTROLLER);
pipeline.remove(NAME_CHANNEL_HANDLER_EOF);