/soc/2012/michael/android: 879063803cab: Added some more documen...
Michael Zangl
michael at soc.pidgin.im
Mon Aug 20 10:15:53 EDT 2012
Changeset: 879063803cab87c4804a27020ef5eb1fa19b1679
Author: Michael Zangl <michael at soc.pidgin.im>
Date: 2012-08-20 16:01 +0200
Branch: soc.2012.android
URL: http://hg.pidgin.im/soc/2012/michael/android/rev/879063803cab
Description:
Added some more documentation to the dns failed callback.
diffstat:
android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/dns/DnsQueryFailedCallback.java | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (26 lines):
diff --git a/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/dns/DnsQueryFailedCallback.java b/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/dns/DnsQueryFailedCallback.java
--- a/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/dns/DnsQueryFailedCallback.java
+++ b/android/workspace/im.pidgin.libpurple/src/im/pidgin/libpurple/core/dns/DnsQueryFailedCallback.java
@@ -5,9 +5,9 @@ import im.pidgin.libpurple.peering.Peere
/**
* Contains a pointer to a native function that should be called when the dns
* query failed and the {@link #call(String)} method to call that function.
- *
+ *
* @author michaelz
- *
+ *
*/
public class DnsQueryFailedCallback extends Peered {
private final DnsQueryData data;
@@ -17,6 +17,10 @@ public class DnsQueryFailedCallback exte
this.data = data;
}
+ /**
+ * Calls this callback.
+ * @param errorMessage The error message to pass.
+ */
public void call(String errorMessage) {
synchronized (data) {
data.ensureNotDestroyed();
More information about the Commits
mailing list