1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 16:22:06 +01:00

Improved Javadocs.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2127 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-10-03 00:31:29 +00:00 committed by mtucker
parent 6b9fd9ba4e
commit 7423a62429

View file

@ -131,6 +131,10 @@ public class Roster {
/** /**
* Returns the subscription processing mode, which dictates what action * Returns the subscription processing mode, which dictates what action
* Smack will take when subscription requests from other users are made. * Smack will take when subscription requests from other users are made.
* The default subscription mode is {@link #SUBCRIPTION_ACCEPT_ALL}.<p>
*
* If using the manual mode, a PacketListener should be registered that
* listens for Presence packets that have a type of {@link Presence.Type#SUBSCRIBE}.
* *
* @return the subscription mode. * @return the subscription mode.
*/ */
@ -141,6 +145,10 @@ public class Roster {
/** /**
* Sets the subscription processing mode, which dictates what action * Sets the subscription processing mode, which dictates what action
* Smack will take when subscription requests from other users are made. * Smack will take when subscription requests from other users are made.
* The default subscription mode is {@link #SUBCRIPTION_ACCEPT_ALL}.<p>
*
* If using the manual mode, a PacketListener should be registered that
* listens for Presence packets that have a type of {@link Presence.Type#SUBSCRIBE}.
* *
* @param subscriptionMode the subscription mode. * @param subscriptionMode the subscription mode.
*/ */