mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Link to Manager from javadoc-overview.html
This commit is contained in:
parent
b69691e676
commit
1e376d4ada
2 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,7 @@ Message message = new Message("jsmith@igniterealtime.org", "Howdy! How are you?"
|
||||||
connection.sendStanza(message);
|
connection.sendStanza(message);
|
||||||
</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 Managers, 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>
|
||||||
|
|
||||||
<p>Smack comes with APIs for easy machine-to-machine communication. You can set any number of properties on each message, including properties that are Java objects.</p>
|
<p>Smack comes with APIs for easy machine-to-machine communication. You can set any number of properties on each message, including properties that are Java objects.</p>
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,9 @@ import java.util.concurrent.TimeUnit;
|
||||||
import org.jivesoftware.smack.SmackException.NotLoggedInException;
|
import org.jivesoftware.smack.SmackException.NotLoggedInException;
|
||||||
import org.jivesoftware.smack.util.Objects;
|
import org.jivesoftware.smack.util.Objects;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Managers provide the high-level API of certain functionality (often standardized by XMPP Extension Protocols).
|
||||||
|
*/
|
||||||
public abstract class Manager {
|
public abstract class Manager {
|
||||||
|
|
||||||
final WeakReference<XMPPConnection> weakConnection;
|
final WeakReference<XMPPConnection> weakConnection;
|
||||||
|
|
Loading…
Reference in a new issue