public class PgSocketConnection extends SocketConnectionBase
SocketConnectionBase.StatusConnection.Holder| Modifier and Type | Field and Description |
|---|---|
int |
processId |
int |
secretKey |
psCache, socket, status| Constructor and Description |
|---|
PgSocketConnection(NetSocketInternal socket,
boolean cachePreparedStatements,
int preparedStatementCacheSize,
int preparedStatementCacheSqlLimit,
int pipeliningLimit,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
int |
getProcessId() |
int |
getSecretKey() |
void |
init() |
void |
sendStartupMessage(String username,
String password,
String database,
Map<String,String> properties,
Handler<? super CommandResponse<Connection>> completionHandler) |
public PgSocketConnection(NetSocketInternal socket, boolean cachePreparedStatements, int preparedStatementCacheSize, int preparedStatementCacheSqlLimit, int pipeliningLimit, Context context)
public void init()
init in class SocketConnectionBasepublic void sendStartupMessage(String username, String password, String database, Map<String,String> properties, Handler<? super CommandResponse<Connection>> completionHandler)
public int getProcessId()
getProcessId in interface ConnectiongetProcessId in class SocketConnectionBasepublic int getSecretKey()
getSecretKey in interface ConnectiongetSecretKey in class SocketConnectionBaseCopyright © 2020. All rights reserved.