1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

Move Stream Management code into o.j.smack.sm

from o.jsmack.tcp.sm, as XEP-198 Stream Management is not an "XMPP over
TCP" exclusive feature. It could also be use together with the Websocket
binding of XMPP, so we may have a smack-streammangement in the
future. This change prepares for that by moving the SM code out of the
XMPP TCP package namespace.
This commit is contained in:
Florian Schmaus 2015-01-18 11:03:03 +01:00
parent 79fe40bf97
commit 4c218c96f6
17 changed files with 72 additions and 39 deletions

View file

@ -89,10 +89,9 @@ public class Chat {
* </pre>
*
* @param text the text to send.
* @throws XMPPException if sending the message fails.
* @throws NotConnectedException
*/
public void sendMessage(String text) throws XMPPException, NotConnectedException {
public void sendMessage(String text) throws NotConnectedException {
Message message = new Message();
message.setBody(text);
sendMessage(message);