mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
logging toward finding who's sending or reporting 0
This commit is contained in:
parent
5f167e2a5e
commit
ac0fe68ee0
3 changed files with 9 additions and 3 deletions
|
@ -379,14 +379,15 @@ public class CommsTransport implements TransportProcs,
|
|||
nSent = buf.length;
|
||||
}
|
||||
} else {
|
||||
nSent = sendForAddr( m_context, addr, conType, m_rowid,
|
||||
gameID, buf, msgID );
|
||||
nSent = sendForAddr( m_context, addr, conType, m_rowid, gameID,
|
||||
buf, msgID );
|
||||
}
|
||||
|
||||
// Keep this while debugging why the resend_all that gets
|
||||
// fired on reconnect doesn't unstall a game but a manual
|
||||
// resend does.
|
||||
Log.d( TAG, "transportSend(%d)=>%d", buf.length, nSent );
|
||||
Log.d( TAG, "transportSend(len=%d, typ=%s) => %d", buf.length,
|
||||
conType, nSent );
|
||||
return nSent;
|
||||
}
|
||||
|
||||
|
@ -440,6 +441,8 @@ public class CommsTransport implements TransportProcs,
|
|||
Assert.fail();
|
||||
break;
|
||||
}
|
||||
Log.d( TAG, "sendForAddr(typ=%s, len=%d) => %d", conType,
|
||||
buf.length, nSent );
|
||||
return nSent;
|
||||
}
|
||||
|
||||
|
|
|
@ -117,6 +117,8 @@ public class MultiMsgSink implements TransportProcs {
|
|||
m_sentSet.add( msgID );
|
||||
}
|
||||
|
||||
Log.d( TAG, "transportSend(len=%d, typ=%s) => %d", buf.length,
|
||||
typ, nSent );
|
||||
return nSent;
|
||||
}
|
||||
|
||||
|
|
|
@ -213,6 +213,7 @@ public class SMSService extends XWService {
|
|||
} else {
|
||||
Log.i( TAG, "sendPacket: dropping because SMS disabled" );
|
||||
}
|
||||
Log.d( TAG, "sendPacket(len=%d) => %d", binmsg.length, nSent );
|
||||
return nSent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue