mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 22:12:05 +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
|
// Make a copy since it's possible that a listener will be removed from the list
|
||||||
listenersCopy = new ArrayList<ConnectionListener>(connectionListeners);
|
listenersCopy = new ArrayList<ConnectionListener>(connectionListeners);
|
||||||
for (ConnectionListener listener : listenersCopy) {
|
for (ConnectionListener listener : listenersCopy) {
|
||||||
listener.reconectionSuccessful();
|
listener.reconnectionSuccessful();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ public class PrivacyListManager {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -234,7 +234,7 @@ public class ReconnectionManager implements ConnectionListener {
|
||||||
/**
|
/**
|
||||||
* The connection has successfull gotten connected.
|
* The connection has successfull gotten connected.
|
||||||
*/
|
*/
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -802,7 +802,7 @@ public class Roster implements ConnectionListener {
|
||||||
// Ignore
|
// Ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
// Ignore
|
// Ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -783,6 +783,14 @@ public class XMPPConnection {
|
||||||
return packetReader.createPacketCollector(packetFilter);
|
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
|
* Adds a connection listener to this connection that will be notified when
|
||||||
* the connection closes or fails. The connection needs to already be connected
|
* the connection closes or fails. The connection needs to already be connected
|
||||||
|
|
|
@ -116,7 +116,7 @@ public class ConsoleDebugger implements SmackDebugger {
|
||||||
")");
|
")");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
System.out.println(
|
System.out.println(
|
||||||
dateFormatter.format(new Date()) + " Connection reconnected (" +
|
dateFormatter.format(new Date()) + " Connection reconnected (" +
|
||||||
connection.hashCode() +
|
connection.hashCode() +
|
||||||
|
|
|
@ -161,7 +161,7 @@ public class ServiceDiscoveryManager {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -226,7 +226,7 @@ public class EnhancedDebugger implements SmackDebugger {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
SwingUtilities.invokeLater(new Runnable() {
|
SwingUtilities.invokeLater(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
statusField.setValue("Reconnection stablished");
|
statusField.setValue("Reconnection stablished");
|
||||||
|
|
|
@ -113,7 +113,7 @@ class RoomListenerMultiplexor implements ConnectionListener {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ public class ReconnectionTest extends SmackTestCase {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reconectionSuccessful() {
|
public void reconnectionSuccessful() {
|
||||||
reconnected = true;
|
reconnected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue