1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-29 09:42:06 +01:00

Improve Packet javadoc

This commit is contained in:
Florian Schmaus 2014-10-29 14:05:38 +01:00
parent 6b21455b32
commit b73bb27463

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
*/