mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Add javadoc for XMPPConnection.send(PlainStreamElement)
This commit is contained in:
parent
c674808a4a
commit
0ef50bfd1e
1 changed files with 8 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue