Improve Packet javadoc

This commit is contained in:
Florian Schmaus 2014-10-29 14:05:38 +01:00
parent 6b21455b32
commit b73bb27463
1 changed files with 7 additions and 1 deletions

View File

@ -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.
* <p>
* Every packet has a unique ID (which is automatically
* generated, but can be overridden). Optionally, the "to" and "from" fields can be set.
* </p>
* <p>
* XMPP Stanzas are {@link Message}, {@link IQ} and {@link Presence}. Which therefore subclass this class.
* </p>
*
* @author Matt Tucker
*/