aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/server/xmpp
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-12 17:47:45 +0300
committerGravatar Vitaly Takmazov2018-04-12 17:47:45 +0300
commitcf0137083ce96f8d26e7670332c766a6c7d75faf (patch)
tree9cb285eb7ec3a0a3e00937fbf8fe903d5078658b /juick-common/src/main/java/com/juick/server/xmpp
parentc5649915e6259e921cfd087042525b69533d53b0 (diff)
xmpp: warning message for outdated query
Diffstat (limited to 'juick-common/src/main/java/com/juick/server/xmpp')
-rw-r--r--juick-common/src/main/java/com/juick/server/xmpp/iq/MessageQuery.java10
-rw-r--r--juick-common/src/main/java/com/juick/server/xmpp/iq/package-info.java8
2 files changed, 18 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/server/xmpp/iq/MessageQuery.java b/juick-common/src/main/java/com/juick/server/xmpp/iq/MessageQuery.java
new file mode 100644
index 00000000..7500cbf8
--- /dev/null
+++ b/juick-common/src/main/java/com/juick/server/xmpp/iq/MessageQuery.java
@@ -0,0 +1,10 @@
+package com.juick.server.xmpp.iq;
+
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement(name = "query")
+public class MessageQuery {
+ private MessageQuery() {
+
+ }
+}
diff --git a/juick-common/src/main/java/com/juick/server/xmpp/iq/package-info.java b/juick-common/src/main/java/com/juick/server/xmpp/iq/package-info.java
new file mode 100644
index 00000000..dada8289
--- /dev/null
+++ b/juick-common/src/main/java/com/juick/server/xmpp/iq/package-info.java
@@ -0,0 +1,8 @@
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlSchema(namespace = "http://juick.com/query#messages", elementFormDefault = XmlNsForm.QUALIFIED)
+package com.juick.server.xmpp.iq;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlSchema; \ No newline at end of file