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

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

View file

@ -154,11 +154,17 @@ public interface XMPPConnection {
public void sendPacket(Packet packet) throws NotConnectedException; 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 * @param element
* @throws NotConnectedException * @throws NotConnectedException
*/ */
public void send(PlainStreamElement element) throws NotConnectedException; public void send(PlainStreamElement element) throws NotConnectedException;
/** /**
* Returns the roster for the user. * Returns the roster for the user.