mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
Fix XMPPConnection javadoc
The XMPPConnection interface does not define methods to manipulate the connection state (e.g. connect(), disconnect()). The example should use the connection type as declared type.
This commit is contained in:
parent
b7ac16c1fb
commit
2853ec39b4
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ import org.jivesoftware.smack.packet.PlainStreamElement;
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* // Create a connection to the igniterealtime.org XMPP server.
|
* // Create a connection to the igniterealtime.org XMPP server.
|
||||||
* XMPPConnection con = new XMPPTCPConnection("igniterealtime.org");
|
* XMPPTCPConnection con = new XMPPTCPConnection("igniterealtime.org");
|
||||||
* // Connect to the server
|
* // Connect to the server
|
||||||
* con.connect();
|
* con.connect();
|
||||||
* // Most servers require you to login before performing other tasks.
|
* // Most servers require you to login before performing other tasks.
|
||||||
|
|
Loading…
Reference in a new issue