org.postgresql.adba.communication.NetworkResponse Maven / Gradle / Ivy
package org.postgresql.adba.communication;
import java.io.IOException;
/**
* Handler for response from network.
*
* @author Daniel Sagenschneider
*/
public interface NetworkResponse extends NetworkErrorHandler {
/**
* Handles the read by the {@link NetworkRequest}.
*
* @param context {@link NetworkReadContext}.
* @return Optional further {@link NetworkResponse} to be received.
* @throws IOException If failure in handling the read.
*/
NetworkResponse read(NetworkReadContext context) throws IOException;
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy