Add javadoc for XMPPConnection.send(PlainStreamElement)

This commit is contained in:
Florian Schmaus 2014-10-13 16:49:28 +02:00
parent c674808a4a
commit 0ef50bfd1e
1 changed files with 8 additions and 2 deletions

View File

@ -154,11 +154,17 @@ public interface XMPPConnection {
public void sendPacket(Packet packet) throws NotConnectedException;
/**
*
* Send a PlainStreamElement.
* <p>
* <b>This method is not meant for end-user usage!</b> It allows sending plain stream elements, which should not be
* done by a user manually. <b>Doing so may result in a unstable or unusable connection.</b> Certain Smack APIs use
* this method to send plain stream elements.
* </p>
*
* @param element
* @throws NotConnectedException
*/
public void send(PlainStreamElement element) throws NotConnectedException;
public void send(PlainStreamElement element) throws NotConnectedException;
/**
* Returns the roster for the user.