mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Renamed Connection to XMPPConnection
This commit is contained in:
parent
f3e007bad5
commit
489816c61f
145 changed files with 639 additions and 641 deletions
|
@ -1,13 +1,13 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Smack: Connection Management - Jive Software</title>
|
||||
<title>Smack: XMPPConnection Management - Jive Software</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
Smack: Connection Management
|
||||
Smack: XMPPConnection Management
|
||||
</div>
|
||||
|
||||
<div class="nav">
|
||||
|
@ -19,7 +19,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
The <tt>org.jivesoftware.smack.Connection</tt> class manages your connection to an XMPP
|
||||
The <tt>org.jivesoftware.smack.XMPPConnection</tt> class manages your connection to an XMPP
|
||||
server. The default implementation is the <tt>org.jivesoftware.smack.XMPPConnection</tt>
|
||||
class. Two constructors are mainly used. The first, <tt>XMPPConnection(String)</tt> takes
|
||||
the server name you'd like to connect to as an argument. All default connection settings will
|
||||
|
@ -80,7 +80,7 @@ manager will try to immediately reconnect to the server and increase the delay b
|
|||
successive reconnections keep failing.</i>
|
||||
<br>
|
||||
In case you want to force a reconnection while the reconnetion manager is waiting for the next
|
||||
reconnection, you can just use <i>Connection#connect()</i> and a new attempt will be made.
|
||||
reconnection, you can just use <i>XMPPConnection#connect()</i> and a new attempt will be made.
|
||||
If the manual attempt also failed then the reconnection manager will still continue the
|
||||
reconnection job.
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue