ConnectionLogger.logReadBuffer(this.getClass().getSimpleName(), request.getServerName(), request.getServerPort(),
buffer, 0, buffer.length);
}
ByteArrayInputStream bais = new ByteArrayInputStream(buffer);
encoderDecoder = AppContext.getEncoderDecoderFactory().createEncoderDecoder(buffer);
reqMessage = (SCMPMessage) encoderDecoder.decode(bais);
if (reqMessage.isKeepAlive() == true) {
// keep alive received, just reply nothing more to do.
reqMessage.setIsReply(true);
// write reply to servlet output stream