mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 13:07:59 +01:00
Spellcheck.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6106 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
8d5225c6a9
commit
0537629ee9
10 changed files with 17 additions and 9 deletions
|
@ -235,7 +235,7 @@ class PacketReader {
|
|||
// Make a copy since it's possible that a listener will be removed from the list
|
||||
listenersCopy = new ArrayList<ConnectionListener>(connectionListeners);
|
||||
for (ConnectionListener listener : listenersCopy) {
|
||||
listener.reconectionSuccessful();
|
||||
listener.reconnectionSuccessful();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ public class PrivacyListManager {
|
|||
// ignore
|
||||
}
|
||||
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
// ignore
|
||||
}
|
||||
});
|
||||
|
|
|
@ -234,7 +234,7 @@ public class ReconnectionManager implements ConnectionListener {
|
|||
/**
|
||||
* The connection has successfull gotten connected.
|
||||
*/
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
// ignore
|
||||
}
|
||||
|
||||
|
|
|
@ -802,7 +802,7 @@ public class Roster implements ConnectionListener {
|
|||
// Ignore
|
||||
}
|
||||
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
// Ignore
|
||||
}
|
||||
}
|
|
@ -783,6 +783,14 @@ public class XMPPConnection {
|
|||
return packetReader.createPacketCollector(packetFilter);
|
||||
}
|
||||
|
||||
public PacketCollector createPacketCollector(PacketFilter packetFilter, boolean debugMode) {
|
||||
if(debugMode) {
|
||||
return new DebuggingPacketCollector(packetReader, packetFilter);
|
||||
} else {
|
||||
return packetReader.createPacketCollector(packetFilter);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a connection listener to this connection that will be notified when
|
||||
* the connection closes or fails. The connection needs to already be connected
|
||||
|
|
|
@ -116,7 +116,7 @@ public class ConsoleDebugger implements SmackDebugger {
|
|||
")");
|
||||
e.printStackTrace();
|
||||
}
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
System.out.println(
|
||||
dateFormatter.format(new Date()) + " Connection reconnected (" +
|
||||
connection.hashCode() +
|
||||
|
|
|
@ -161,7 +161,7 @@ public class ServiceDiscoveryManager {
|
|||
// ignore
|
||||
}
|
||||
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
// ignore
|
||||
}
|
||||
});
|
||||
|
|
|
@ -226,7 +226,7 @@ public class EnhancedDebugger implements SmackDebugger {
|
|||
});
|
||||
}
|
||||
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
statusField.setValue("Reconnection stablished");
|
||||
|
|
|
@ -113,7 +113,7 @@ class RoomListenerMultiplexor implements ConnectionListener {
|
|||
// ignore
|
||||
}
|
||||
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
// ignore
|
||||
}
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ public class ReconnectionTest extends SmackTestCase {
|
|||
|
||||
}
|
||||
|
||||
public void reconectionSuccessful() {
|
||||
public void reconnectionSuccessful() {
|
||||
reconnected = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue