summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Clayton <alex.clayton@isode.com>2014-11-13 15:15:41 (GMT)
committerAlex Clayton <alex.clayton@isode.com>2014-11-26 09:39:53 (GMT)
commitb89bf2f3363bac56fcc5d02f5fb690c73eaaacdf (patch)
tree39893e33d2bb88f0eef3e04ae9533bb1d6139c17 /src/com/isode/stroke/elements/MAMFin.java
parent47cad5fd7883b8c7273ea11073643aa585b485c6 (diff)
downloadstroke-b89bf2f3363bac56fcc5d02f5fb690c73eaaacdf.zip
stroke-b89bf2f3363bac56fcc5d02f5fb690c73eaaacdf.tar.bz2
Bring Stroke inline with Swiften with respect to MAM
Some patches for MAM had gone into swiften without being ported to stroke. This patch should bring stroke update to date with Swiften. The swiften patches in question are 9b762e1cf26cfe12cf601d9ea95cf91b3f95c799 -- Add node attribute to MAMQuery 8096f80861667381b777af774cfd446d6fc8cda8 -- Brining XEP-0313 (MAM) implementation in line with version 3.0. Test-information: Ran the updated JUnit tests in Eclipse they all passed ok. Ran make and make test in a stroke checkout. Everything build ok and the JUNit tests passed. Change-Id: I95bf5d598808f48fe2d7af12c0f07d852d68c115
Diffstat (limited to 'src/com/isode/stroke/elements/MAMFin.java')
-rw-r--r--src/com/isode/stroke/elements/MAMFin.java60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/MAMFin.java b/src/com/isode/stroke/elements/MAMFin.java
new file mode 100644
index 0000000..ebc39e8
--- /dev/null
+++ b/src/com/isode/stroke/elements/MAMFin.java
@@ -0,0 +1,60 @@
+/*
+* Copyright (c) 2014 Kevin Smith and Remko Tronçon
+* All rights reserved.
+*/
+
+/*
+* Copyright (c) 2014, Isode Limited, London, England.
+* All rights reserved.
+*/
+
+package com.isode.stroke.elements;
+
+public class MAMFin extends Payload {
+
+ private boolean isComplete_;
+
+ private boolean isStable_;
+
+ private ResultSet resultSet_;
+
+ private String queryID_;
+
+ public MAMFin() {
+ isComplete_ = false;
+ isStable_ = true;
+ }
+
+ public boolean isComplete() {
+ return isComplete_;
+ }
+
+ public void setComplete(boolean isComplete) {
+ this.isComplete_ = isComplete;
+ }
+
+ public boolean isStable() {
+ return isStable_;
+ }
+
+ public void setStable(boolean isStable) {
+ this.isStable_ = isStable;
+ }
+
+ public ResultSet getResultSet() {
+ return resultSet_;
+ }
+
+ public void setResultSet(ResultSet resultSet) {
+ this.resultSet_ = resultSet;
+ }
+
+ public String getQueryID() {
+ return queryID_;
+ }
+
+ public void setQueryID(String queryID) {
+ this.queryID_ = queryID;
+ }
+
+}