OK, so I implemented all the required methods, and I just had them log error messages for me.
But my problem that I was tackling is still there, and I get no messages in the android log.
So, maybe someone can give me a pointer, but here is what I've seen, and where I've tracked it down to:
I'm polling, about once every second, just reading a set of registers. And it will go along just fine for a while, but at random intervals, it will just stop for about 30 seconds (which is what my timeout is) and then continue.
I put log messages in throughout (breakpoints suck for a random polling problem) and tracked it down to this line in the TcpMaster.java line:
ipResponse = (IpMessageResponse)conn.send(ipRequest);
I put a lot message before and after this line, and the log shows the line before, and then a 30 second pause, and the line after.
Any ideas on what might be causing this? I can't really dig much further because the send method is in seroUtils.jar, otherwise I would just keep chasing it down.
I would think that if I time out the connection for some reason the exception handler class I implemented would spit out a log message, but this hasn't been the case.
Any help is appreciated!
Thanks