aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-10 08:52:00 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-10 08:52:00 +0000
commit668c3f691ac236bb0ce5c16314b5349c34a01eb8 (patch)
treee2bf77b384dd51bf808056bf91a7f1d9de4007b1 /Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h
parent05469187ed0b48a628d80bc17e2a1874768ba457 (diff)
downloadsequelpro-668c3f691ac236bb0ce5c16314b5349c34a01eb8.tar.gz
sequelpro-668c3f691ac236bb0ce5c16314b5349c34a01eb8.tar.bz2
sequelpro-668c3f691ac236bb0ce5c16314b5349c34a01eb8.zip
Make connection resets asynchronous.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnectionDelegate.h11
1 files changed, 9 insertions, 2 deletions
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,13 +25,20 @@
@protocol FLXPostgresConnectionDelegate <NSObject>
/**
- * 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.
*
* @param connection The connection instance.
@@ -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