summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarun Gupta <tarun1995gupta@gmail.com>2015-07-29 15:54:09 (GMT)
committerAlex Clayton <alex.clayton@isode.com>2016-01-14 15:38:31 (GMT)
commit72249383639858b1a7947b1afc6b9491ebd82bf8 (patch)
tree03af3e75006a133ee365116384bcc659543e183e /src/com/isode/stroke/queries
parent701abcb162dfb3e7cc8c6a9ada81a16d1fc8d4ee (diff)
downloadstroke-72249383639858b1a7947b1afc6b9491ebd82bf8.zip
stroke-72249383639858b1a7947b1afc6b9491ebd82bf8.tar.bz2
Completes Jingle.
Adds Listenable, JingleSession, JingleContentID, FakeJingleSession, JingleSessionListener, JingleSessionManager, JingleResponder. NotifyListeners are not in line with Swiften and have to be corrected. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Test-Information: None. Change-Id: I6533b2be02a0843277a63ca115348ff6138a0fc0
Diffstat (limited to 'src/com/isode/stroke/queries')
-rw-r--r--src/com/isode/stroke/queries/GenericRequest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/isode/stroke/queries/GenericRequest.java b/src/com/isode/stroke/queries/GenericRequest.java
index a885ca0..c35b369 100644
--- a/src/com/isode/stroke/queries/GenericRequest.java
+++ b/src/com/isode/stroke/queries/GenericRequest.java
@@ -27,7 +27,7 @@ public class GenericRequest<T extends Payload> extends Request {
}
@Override
- protected void handleResponse(Payload payload, ErrorPayload error) {
+ public void handleResponse(Payload payload, ErrorPayload error) {
T genericPayload = null;
try {
genericPayload = (T)payload;
@@ -37,7 +37,7 @@ public class GenericRequest<T extends Payload> extends Request {
onResponse.emit(genericPayload, error);
}
- protected T getPayloadGeneric() {
+ public T getPayloadGeneric() {
return (T)getPayload();
}