From 668c3f691ac236bb0ce5c16314b5349c34a01eb8 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 10 Sep 2012 08:52:00 +0000 Subject: Make connection resets asynchronous. --- Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h') diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h b/Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h index 9626d8e1..d8fd3ac6 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h +++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h @@ -25,12 +25,19 @@ @protocol FLXPostgresConnectionDelegate /** - * Called whenever a connection is successfully established. + * Called whenever the supplied connection has been successfully established and is ready to use. * * @param connection The connection instance. */ - (void)connectionEstablished:(FLXPostgresConnection *)connection; +/** + * Called whenever the supplied connection has been successfully reset and is ready to use. + * + * @param connection The connection instance. + */ +- (void)connectionReset:(FLXPostgresConnection *)connection; + /** * Called whenever a connection is disconnected. * @@ -53,6 +60,6 @@ * @param query The query about the be executed. * @param values The values of the query. */ -- (void)connection:(FLXPostgresConnection *)connection willExecute:(NSObject *)query values:(NSArray *)values; +- (void)connection:(FLXPostgresConnection *)connection willExecute:(NSObject *)query withValues:(NSArray *)values; @end -- cgit v1.2.3