Comet Request identification

2010-03-15 Thread Animesh Sonkar
Hi, I create a comet connection using sockets and sending a post request. To prevent the server from terminating the request (calling END event) i am sending some heartbeat messages as chunked data on the same socket/request connection. Is there a way in comet to identify, that the heartbeat

Comet event.setTimeOut Bug!! Still no answer

2010-03-08 Thread Animesh Sonkar
Hi, I am not sure why my previous mail was not answered? I hope that i will get the reply this time So here is the same query again... Was curious what event.setTimeOut(timeOutValue) means on a comet event. 1. Does it mean that the request will timeout after timeOutValue and the server will

Comet event.setTimeOut

2010-03-04 Thread Animesh Sonkar
Hi, Was curious what event.setTimeOut(timeOutValue) means on a comet event. 1. Does it mean that the request will timeout after timeOutValue and the server will close the connection and call the END event. I am trying to establish a persistent connection for asynchronous message delivery using

Comet explicit event close

2010-02-09 Thread Animesh Sonkar
Hi, I am Using a Socket client to send a http request to sever and then waits to read response from the socket inputstream.. 1. I have a comet servlet. On its read event it starts a new thread passing the request and response object. 2.The read event code block then returns. 3. The thread

Configuring two connectors and COMET Read event

2010-02-04 Thread Animesh Sonkar
Hi, I am developing an alication where i need two servlets. One is a normal Http Servlet and another is a comet servlet. Now i also need two connectors to be setup in server.xml. One is a normal HTTP/1.1 connector and another a NIO connector. I made changes to the server.xml as follows.