PgSocketConnection

@author <a href="mailto:julien@julienviet.com">Julien Viet</a>

Constructors

this
this(AbstractConnection socket, bool cachePreparedStatements, int preparedStatementCacheSize, int preparedStatementCacheSqlLimit, int pipeliningLimit)
Undocumented in source.

Members

Functions

getProcessId
int getProcessId()
Undocumented in source. Be warned that the author may not have intended to support it.
getSecretKey
int getSecretKey()
Undocumented in source. Be warned that the author may not have intended to support it.
getStandardConformingStrings
bool getStandardConformingStrings()
Undocumented in source. Be warned that the author may not have intended to support it.
sendCancelRequestMessage
void sendCancelRequestMessage(int processId, int secretKey, Callback handler)
Undocumented in source. Be warned that the author may not have intended to support it.
sendStartupMessage
void sendStartupMessage(string username, string password, string database, Map!(string, string) properties, ResponseHandler!(DbConnection) completionHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
setStandardConformingStrings
void setStandardConformingStrings(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
upgradeToSSLConnection
void upgradeToSSLConnection(Callback completionHandler)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

processId
int processId;
Undocumented in source.
secretKey
int secretKey;
Undocumented in source.

Inherited Members

From SocketConnectionBase

Status
enum Status
Undocumented in source.
psCache
PreparedStatementCache psCache;
Undocumented in source.
_socket
AbstractConnection _socket;
Undocumented in source.
status
Status status;
Undocumented in source.
initialization
void initialization()
Undocumented in source. Be warned that the author may not have intended to support it.
socket
AbstractConnection socket()
Undocumented in source. Be warned that the author may not have intended to support it.
isSsl
bool isSsl()
Undocumented in source. Be warned that the author may not have intended to support it.
isConnected
bool isConnected()
Undocumented in source. Be warned that the author may not have intended to support it.
initHolder
void initHolder(Holder holder)
Undocumented in source. Be warned that the author may not have intended to support it.
getProcessId
int getProcessId()
Undocumented in source. Be warned that the author may not have intended to support it.
getSecretKey
int getSecretKey()
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
schedule
void schedule(ICommand cmd)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMessage
void handleMessage(Connection conn, Object msg)
Undocumented in source. Be warned that the author may not have intended to support it.
handleClosed
void handleClosed(Connection conn)
Undocumented in source. Be warned that the author may not have intended to support it.
handleException
void handleException(Connection c, Throwable t)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta