mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Fix documentation to use correct XMPPConnection names
Some parts of the documentation still refer to Connection connection = new XMPPConnection(…) when it should be XMPPConnection connection = new XMPPTCPConnection(…) SMACK-574
This commit is contained in:
parent
1de2da8ec4
commit
3d926a034c
3 changed files with 8 additions and 8 deletions
|
@ -28,7 +28,7 @@ Smack Key Advantages
|
|||
can be accomplished in only a few lines of code:
|
||||
|
||||
<div class="code"><pre>
|
||||
Connection connection = <font color="navy"><b>new</b></font> XMPPConnection(<font color="green">"jabber.org"</font>);
|
||||
XMPPConnection connection = <font color="navy"><b>new</b></font> XMPPTCPConnection(<font color="green">"jabber.org"</font>);
|
||||
connection.connect();
|
||||
connection.login(<font color="green">"mtucker"</font>, <font color="green">"password"</font>);
|
||||
Chat chat = connection.getChatManager().createChat(<font color="green">"jsmith@jivesoftware.com"</font>, new MessageListener() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue