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

[javadoc-overview] Disconnect the connection in example code

This commit is contained in:
Florian Schmaus 2021-03-25 12:23:39 +01:00
parent a39d44ed1f
commit 5844bee1c3

View file

@ -21,6 +21,8 @@ Message message = connection.getStanzaFactory()
.build(); .build();
connection.sendStanza(message); connection.sendStanza(message);
connection.disconnect();
</pre> </pre>
<p>Smack doesn't force you to code at the protcol level of XMPP. The library provides intelligent higher level constructs, often called {@link org.jivesoftware.smack.Manager}, which let you program more efficiently. Other examples of those constructs are the Chat and Roster classes.</p> <p>Smack doesn't force you to code at the protcol level of XMPP. The library provides intelligent higher level constructs, often called {@link org.jivesoftware.smack.Manager}, which let you program more efficiently. Other examples of those constructs are the Chat and Roster classes.</p>