diff options
Diffstat (limited to 'Swiften')
| -rw-r--r-- | Swiften/Network/Connector.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Swiften/Network/Connector.h b/Swiften/Network/Connector.h index a8b0a2b..f34eaa6 100644 --- a/Swiften/Network/Connector.h +++ b/Swiften/Network/Connector.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -33,6 +33,11 @@ namespace Swift { | |||
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | void setTimeoutMilliseconds(int milliseconds); | 35 | void setTimeoutMilliseconds(int milliseconds); |
| 36 | /** | ||
| 37 | * Start the connection attempt. | ||
| 38 | * Note that after calling this method, the caller is responsible for calling #stop() | ||
| 39 | * if it wants to cancel it. Not doing so can leak references. | ||
| 40 | */ | ||
| 36 | void start(); | 41 | void start(); |
| 37 | void stop(); | 42 | void stop(); |
| 38 | 43 | ||
Swift