org.postgresql.adba.communication.NetworkContext Maven / Gradle / Ivy
package org.postgresql.adba.communication;
import java.nio.channels.SocketChannel;
import java.util.Map;
import jdk.incubator.sql2.SessionProperty;
/**
* 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.
*/
Map getProperties();
void startTls();
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy