1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52: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,6 +154,12 @@ 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