[joscar commit] r518 - trunk/client/src/net/kano/joustsim/oscar/oscar

1 view
Skip to first unread message

codesite...@google.com

unread,
Oct 17, 2008, 2:39:15 PM10/17/08
to joscar-...@googlegroups.com
Author: itbsllc
Date: Fri Oct 17 11:38:26 2008
New Revision: 518

Modified:
trunk/client/src/net/kano/joustsim/oscar/oscar/KeepaliveSender.java

Log:
Naming the Keepalive timer thread for tracking.

Modified:
trunk/client/src/net/kano/joustsim/oscar/oscar/KeepaliveSender.java
==============================================================================
--- trunk/client/src/net/kano/joustsim/oscar/oscar/KeepaliveSender.java
(original)
+++ trunk/client/src/net/kano/joustsim/oscar/oscar/KeepaliveSender.java Fri
Oct 17 11:38:26 2008
@@ -69,7 +69,7 @@
private synchronized void handleConnectionState(ClientConn.State
newState) {
if (timer == null && newState == ClientConn.STATE_CONNECTED) {
LOGGER.fine("Starting KeepaliveSender for " + connection);
- timer = new Timer(true);
+ timer = new Timer("KeepAlive", true);
timer.scheduleAtFixedRate(new TimerTask() {
public void run() {
if (!connection.isDisconnected()) {

Reply all
Reply to author
Forward
0 new messages