/** * {@inheritDoc} */ @Override public DecodingState finishDecode(ProtocolDecoderOutput out) throws Exception { IoBuffer product; // When input contained only CR or LF rather than actual data... if (buffer == null) { product = IoBuffer.allocate(0); } else { product = buffer.flip(); buffer = null; } return finishDecode(product, out); }
/** * {@inheritDoc} */ public DecodingState finishDecode(ProtocolDecoderOutput out) throws Exception { IoBuffer product; // When input contained only CR or LF rather than actual data... if (buffer == null) { product = IoBuffer.allocate(0); } else { product = buffer.flip(); buffer = null; } return finishDecode(product, out); }
/** * {@inheritDoc} */ @Override public DecodingState finishDecode(ProtocolDecoderOutput out) throws Exception { IoBuffer product; // When input contained only CR or LF rather than actual data... if (buffer == null) { product = IoBuffer.allocate(0); } else { product = buffer.flip(); buffer = null; } return finishDecode(product, out); }
return finishDecode(product, out);
return finishDecode(product, out);
return finishDecode(product, out);