From b73bb27463695cb4117ba2ffc0195249f0dda2eb Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 29 Oct 2014 14:05:38 +0100 Subject: [PATCH] Improve Packet javadoc --- .../main/java/org/jivesoftware/smack/packet/Packet.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java index 697e8944d..364d09441 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java @@ -32,8 +32,14 @@ import java.util.Map; import java.util.concurrent.atomic.AtomicLong; /** - * Base class for XMPP packets. Every packet has a unique ID (which is automatically + * Base class for XMPP Stanzas, which are called packets in Smack. + *

+ * Every packet has a unique ID (which is automatically * generated, but can be overridden). Optionally, the "to" and "from" fields can be set. + *

+ *

+ * XMPP Stanzas are {@link Message}, {@link IQ} and {@link Presence}. Which therefore subclass this class. + *

* * @author Matt Tucker */