/** * De-serializes the response sent to the * {@link org.apache.flink.queryablestate.network.Client}. * <pre> * <b>The buffer is expected to be at the response position.</b> * </pre> * @param buf The {@link ByteBuf} containing the serialized response. * @return The response. */ public RESP deserializeResponse(final ByteBuf buf) { Preconditions.checkNotNull(buf); return responseDeserializer.deserializeMessage(buf); }
/** * De-serializes the request sent to the * {@link org.apache.flink.queryablestate.network.AbstractServerBase}. * <pre> * <b>The buffer is expected to be at the request position.</b> * </pre> * @param buf The {@link ByteBuf} containing the serialized request. * @return The request. */ public REQ deserializeRequest(final ByteBuf buf) { Preconditions.checkNotNull(buf); return requestDeserializer.deserializeMessage(buf); }
/** * De-serializes the response sent to the * {@link org.apache.flink.queryablestate.network.Client}. * <pre> * <b>The buffer is expected to be at the response position.</b> * </pre> * @param buf The {@link ByteBuf} containing the serialized response. * @return The response. */ public RESP deserializeResponse(final ByteBuf buf) { Preconditions.checkNotNull(buf); return responseDeserializer.deserializeMessage(buf); }
/** * De-serializes the response sent to the * {@link org.apache.flink.queryablestate.network.Client}. * <pre> * <b>The buffer is expected to be at the response position.</b> * </pre> * @param buf The {@link ByteBuf} containing the serialized response. * @return The response. */ public RESP deserializeResponse(final ByteBuf buf) { Preconditions.checkNotNull(buf); return responseDeserializer.deserializeMessage(buf); }
/** * De-serializes the request sent to the * {@link org.apache.flink.queryablestate.network.AbstractServerBase}. * <pre> * <b>The buffer is expected to be at the request position.</b> * </pre> * @param buf The {@link ByteBuf} containing the serialized request. * @return The request. */ public REQ deserializeRequest(final ByteBuf buf) { Preconditions.checkNotNull(buf); return requestDeserializer.deserializeMessage(buf); }
/** * De-serializes the request sent to the * {@link org.apache.flink.queryablestate.network.AbstractServerBase}. * <pre> * <b>The buffer is expected to be at the request position.</b> * </pre> * @param buf The {@link ByteBuf} containing the serialized request. * @return The request. */ public REQ deserializeRequest(final ByteBuf buf) { Preconditions.checkNotNull(buf); return requestDeserializer.deserializeMessage(buf); }