mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 13:07:59 +01:00
Added Javadoc note about single thread used for all listeners.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2088 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
796b70de23
commit
690ba2f345
1 changed files with 5 additions and 1 deletions
|
@ -68,7 +68,11 @@ import org.jivesoftware.smack.filter.PacketFilter;
|
||||||
public interface PacketListener {
|
public interface PacketListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process the next packet sent to this packet listener.
|
* Process the next packet sent to this packet listener.<p>
|
||||||
|
*
|
||||||
|
* A single thread is responsible for invoking all listeners, so
|
||||||
|
* it's very important that implementations of this method not block
|
||||||
|
* for any extended period of time.
|
||||||
*
|
*
|
||||||
* @param packet the packet to process.
|
* @param packet the packet to process.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue