
org.postgresql.adba.communication.NetworkContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pgadba Show documentation
Show all versions of pgadba Show documentation
ADBA implementation for PostgreSQL
The newest version!
package org.postgresql.adba.communication;
import java.nio.channels.SocketChannel;
import jdk.incubator.sql2.SessionProperty;
import org.postgresql.adba.util.PropertyHolder;
/**
* Context available to all {@link NetworkRequest} events.
*
* @author Daniel Sagenschneider
*/
public interface NetworkContext {
/**
* Obtains the {@link SocketChannel}.
*
* @return {@link SocketChannel}.
*/
SocketChannel getSocketChannel();
/**
* Obtains the {@link SessionProperty} values.
*
* @return {@link SessionProperty} values.
*/
PropertyHolder getProperties();
void startTls();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy