mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
add a bit of logging around transport sends
This commit is contained in:
parent
a920ce455b
commit
c98a724611
1 changed files with 3 additions and 1 deletions
|
@ -359,6 +359,8 @@ public class CommsTransport implements TransportProcs,
|
|||
public int transportSend( byte[] buf, CommsAddrRec addr,
|
||||
CommsConnType conType, int gameID )
|
||||
{
|
||||
DbgUtils.logdf( "CommsTransport.transportSend(len=%d, typ=%s)",
|
||||
buf.length, conType.toString() );
|
||||
int nSent = -1;
|
||||
Assert.assertNotNull( addr );
|
||||
Assert.assertTrue( addr.contains( conType ) );
|
||||
|
@ -385,7 +387,7 @@ public class CommsTransport implements TransportProcs,
|
|||
// Keep this while debugging why the resend_all that gets
|
||||
// fired on reconnect doesn't unstall a game but a manual
|
||||
// resend does.
|
||||
DbgUtils.logf( "transportSend(%d)=>%d", buf.length, nSent );
|
||||
DbgUtils.logdf( "transportSend(%d)=>%d", buf.length, nSent );
|
||||
return nSent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue