aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/xmpp/IqPacket.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-28 18:46:01 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-28 18:46:01 +0100
commitacf80bddd07d5579cdb20a888b3f9e99e53030a5 (patch)
tree034a8e364488c89c8e1997f56313d919019afa65 /src/de/gultsch/chat/xmpp/IqPacket.java
parent03d96266f8bbb76e25610e903d74a0afa7dcd03b (diff)
rebranding
Diffstat (limited to 'src/de/gultsch/chat/xmpp/IqPacket.java')
-rw-r--r--src/de/gultsch/chat/xmpp/IqPacket.java40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/de/gultsch/chat/xmpp/IqPacket.java b/src/de/gultsch/chat/xmpp/IqPacket.java
deleted file mode 100644
index d7672540..00000000
--- a/src/de/gultsch/chat/xmpp/IqPacket.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package de.gultsch.chat.xmpp;
-
-import de.gultsch.chat.xml.Element;
-
-public class IqPacket extends Element {
-
- public static final int TYPE_SET = 0;
- public static final int TYPE_RESULT = 1;
- public static final int TYPE_GET = 2;
-
- private IqPacket(String name) {
- super(name);
- }
-
- public IqPacket(int type) {
- super("iq");
- switch (type) {
- case TYPE_SET:
- this.setAttribute("type", "set");
- break;
- case TYPE_GET:
- this.setAttribute("type", "get");
- break;
- case TYPE_RESULT:
- this.setAttribute("type", "result");
- break;
- default:
- break;
- }
- }
-
- public IqPacket() {
- super("iq");
- }
-
- public String getId() {
- return this.getAttribute("id");
- }
-
-}