<BUG>public void messageReceived (IoSession session, Object message) throws Exception {String str = message.toString();</BUG><CONTEXT>System.out.printf("Sending Banner: %s \n", m_conversation.getBanner());session.write(m_conversation.getBanner());}}@Override<extra_id_0>if(str.trim().equalsIgnoreCase(m_conversation.getExpectedClose())) {if(m_conversation.getExpectedCloseResponse() != null) {session.write(m_conversation.getExpectedCloseResponse());</CONTEXT>
System.out.printf("Server received: %s\n", message.toString().trim());String str = message.toString();