Go and read through the documentation section in the jclaim project.
It will really help you.
- Alex.
Misha,
You are being ridiculous.
1) There is an ENTIRE client in java. (You want source – there it is).
2) There is a javaworld article with diagrams AND code examples in the docs section (I gave you a link earlier)
3) There are a ton of other related docs in the documentation section (link earlier)
4) There is Javadoc for the entire tree. Download the source tree and I believe it’s the typical “ant javadoc” command.
5) This is an open source project – you want something better – SUBMIT it.
Don’t bitch – contribute.
From: joscar-...@googlegroups.com
[mailto:joscar-...@googlegroups.com] On
Behalf Of mmdumi
Sent: Wednesday, October 15, 2008
2:56 PM
To:
joscar-...@googlegroups.com
Subject: [joscar-discuss] Re:
JClaim with JOscar problem
As i said "there is no real documentation". If the guys from sun would create such a documentation it will be like "hello, this is what we can do, so, try to read all of our .java files and maybe you will understand what java is".
I am consistently seeing this problem where joscar doesn’t notice that it’s disconnected/gone offline.
I can send messages fine, but people never receive them.
I am guessing AIM changed the way the idle is checked. Maybe someone could look into it? A bunch of my users are reporting same problem.
This is a BIG problem for us. Can’t use the protocol like this.
ICQ:
ICQ has a similar problem.
Found out more details:
People who are using this lib (through JClaim) found out that their company’s firewall kills connections after 1h of inactivity.
So that means we don’t have ANY heartbeats on (some) sockets?
Can someone look into it please? This is a big problem. Every other client works just fine for them (other implementations).
This should be SO simple…
Just let the connection sit there and see what client sends to server over the course of an hour. Then do same ourselves.
From: joscar-...@googlegroups.com [mailto:joscar-...@googlegroups.com] On Behalf Of Alex Rass
Sent: Thursday, October 16, 2008
11:20 AM
To: joscar-...@googlegroups.com
There’s a KeepaliveSender class which does *try* to send heatbeats (Flap(5)) to keep alive. But it doesn’t do what it’s supposed to for some reason.
Maybe there’s no guarantee that if it comes back empty there’s a logout callback initiated?
I named the thread so I can track them easier. There are about 3 of these per connection.
And running a debugger tells me that it does work (send flap packets).
From: joscar-...@googlegroups.com [mailto:joscar-...@googlegroups.com] On Behalf Of Keith Lea
Sent: Friday, October 17, 2008
1:19 PM
To:
joscar-...@googlegroups.com
Yeah, I put a break point on it, so the sendFlap call does happen.
Perhaps we should see if anything comes back, so it’s a full heartbeat and not just a keepalive?
Ok, will do.
In the mean time:
Is there more than 1 socket used?
Cause then we’ll need a heartbeat on each one. Right now it’s only added to OscarConection.