1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-23 11:07:57 +01:00

Javadoc updates.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3109 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2005-11-19 18:13:50 +00:00 committed by matt
parent cd20108352
commit cc40bf4bcb
2 changed files with 7 additions and 6 deletions

View file

@ -125,7 +125,9 @@ public class RosterEntry {
/** /**
* Returns the roster subscription type of the entry. When the type is * Returns the roster subscription type of the entry. When the type is
* RosterPacket.ItemType.NONE, the subscription request is pending. * {@link RosterPacket.ItemType#NONE} or {@link RosterPacket.ItemType#FROM},
* refer to {@link RosterEntry getStatus()} to see if a subscription request
* is pending.
* *
* @return the type. * @return the type.
*/ */
@ -135,8 +137,8 @@ public class RosterEntry {
/** /**
* Returns the roster subscription status of the entry. When the status is * Returns the roster subscription status of the entry. When the status is
* RosterPacket.ItemStatus.SUBSCRIPTION_PENDING, the contact has to answer the subscription * RosterPacket.ItemStatus.SUBSCRIPTION_PENDING, the contact has to answer the
* request. * subscription request.
* *
* @return the status. * @return the status.
*/ */

View file

@ -168,8 +168,7 @@ public class XMPPConnection {
} }
/** /**
* Creates a new connection to the specified XMPP server on the given port. The IP address * Creates a new connection to the XMPP server at the specifiec host and port.
* of the server is assumed to match the service name.
* *
* @param host the name of the XMPP server to connect to; e.g. <tt>jivesoftware.com</tt>. * @param host the name of the XMPP server to connect to; e.g. <tt>jivesoftware.com</tt>.
* @param port the port on the server that should be used; e.g. <tt>5222</tt>. * @param port the port on the server that should be used; e.g. <tt>5222</tt>.