int CometContext.addCometHandler(CometHandler handler)
returns the comethandlers hashcode, how come ?
the hashcode is known by the calling context.
its redundant information.
what would be of use is to know the actual status of the method, did the add
of our comethandler work or not.
returning a boolean stating the status of the handlers.putIfAbsent does
bring extra knowledge.
It can be used to check for logedin client for example.
now i must use en extra external hasmap just for this.
the fact that the comethandlers.oninterrupt is to remove itself from the
cometcontext has nothing to do with the need for status of this operation.
this is not a major problem , cause its possible to workaround.
its to put it mildly, just looks bad when its useless information being
returned where we could have something meaningsfull.
is it ok i change this ?.
regards
gustav trede