Filip Hanik - Dev Lists wrote:
For some of these events, we could provide with Tomcat a set of
utility valves which would implement them, such as a connection
tracking valve (closes connections on reloads or when sessions expire).
agreed
got my hands full today, will sleep on it some more.
I
Remy Maucherat wrote:
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
That's a second step :) It's a good idea because at the moment
there's only a boolean, so it's not possible to do anything except
sending an ERROR or READ event.
Right now, I'm doing all the changes in the servlet con
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
That's a second step :) It's a good idea because at the moment there's
only a boolean, so it's not possible to do anything except sending an
ERROR or READ event.
Right now, I'm doing all the changes in the servlet container (which is
enoug
Filip Hanik - Dev Lists wrote:
great, can we adjust processSocket(socket, boolean) (AprEndPoint and
NioEndpoint) so that it can pass the correct data (timeout, shutdown etc)
I can do all the schtuff in the NIO piece, its so similar to the APR
piece that I can just see what you have done there.
great, can we adjust processSocket(socket, boolean) (AprEndPoint and
NioEndpoint) so that it can pass the correct data (timeout, shutdown etc)
I can do all the schtuff in the NIO piece, its so similar to the APR
piece that I can just see what you have done there.
Filip
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
yes please get started, I want to spend some time in the clustering code
right now, so I'll chime in a bit later.
Cool. Since I'll be reusing a lot of existing code, I think it'll be
done quickly (maybe by tomorrow).
Rémy
--
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
head is clearing up...how about...
since:
public class MyServlet implements HttpServlet, o.a.c.CometProcessor {
wouldn't it make sense for:
public class MyFilter implements Filter, o.a.c.CometFilter {
and you'd declare it the sam
Filip Hanik - Dev Lists wrote:
head is clearing up...how about...
since:
public class MyServlet implements HttpServlet, o.a.c.CometProcessor {
wouldn't it make sense for:
public class MyFilter implements Filter, o.a.c.CometFilter {
and you'd declare it the same way, since we are piggy
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
No, I don't see how filters can work. It is possible that some
filters which would be wrapping the request would be ok, but most
likely they would do something when the call returns (and finish
what they had to do), so any attempt to use the
Filip Hanik - Dev Lists wrote:
No, I don't see how filters can work. It is possible that some filters
which would be wrapping the request would be ok, but most likely they
would do something when the call returns (and finish what they had to
do), so any attempt to use the wrapped objects would
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
ok, I've had a chance to think about it, and let me try to summarize
our ideas, my goal here is to simplify the implementation
I agree to a significant extent, but I would like to go a bit further
and clean things up for interception.
1.
Filip Hanik - Dev Lists wrote:
ok, I've had a chance to think about it, and let me try to summarize our
ideas, my goal here is to simplify the implementation
I agree to a significant extent, but I would like to go a bit further
and clean things up for interception.
1. CometEvent would be an
ok, I've had a chance to think about it, and let me try to summarize our
ideas, my goal here is to simplify the implementation
1. CometEvent would be an interface, in such a way that we could reuse
the objects in the backend, and also provide a facade to hide server
details from the servlet
Filip Hanik - Dev Lists wrote:
my proposal is a little delayed, had a slight Fedora Core meltdown,
still recovering
I thought about it a bit, and I think we could do the following (with an
event method):
- If the "servlet" implements CometProcessor and the connector supports
Comet, then don't
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
my proposal is a little delayed, had a slight Fedora Core meltdown,
still recovering
Soon, you're going to say it's all my fault.
that's implicit :)
I am away without email next week, and I'm coming back on friday (in
the evening).
enj
Filip Hanik - Dev Lists wrote:
my proposal is a little delayed, had a slight Fedora Core meltdown,
still recovering
Soon, you're going to say it's all my fault.
I am away without email next week, and I'm coming back on friday (in the
evening).
Rémy
-
my proposal is a little delayed, had a slight Fedora Core meltdown,
still recovering
Filip Hanik - Dev Lists wrote:
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
what am I thinking, all connectors, so far only the connectors
supporting poll are valid candidates for comet :)
I don't k
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
what am I thinking, all connectors, so far only the connectors
supporting poll are valid candidates for comet :)
I don't know how to redo the advertisement part of comet support
without the special "org.apache.tomcat.comet.support" attribut
Filip Hanik - Dev Lists wrote:
what am I thinking, all connectors, so far only the connectors
supporting poll are valid candidates for comet :)
I don't know how to redo the advertisement part of comet support without
the special "org.apache.tomcat.comet.support" attribute, though.
Rémy
Filip Hanik - Dev Lists wrote:
Remy Maucherat wrote:
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
flush I can see, but close in a comet I can't, there is no way to
send additional data after close is called, as that is a output
stream close method.
calling close, will/should eventual
Remy Maucherat wrote:
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
flush I can see, but close in a comet I can't, there is no way to
send additional data after close is called, as that is a output
stream close method.
calling close, will/should eventually trigger event(END).
Ok, I w
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
flush I can see, but close in a comet I can't, there is no way to send
additional data after close is called, as that is a output stream
close method.
calling close, will/should eventually trigger event(END).
Ok, I will make those changes.
Filip Hanik - Dev Lists wrote:
flush I can see, but close in a comet I can't, there is no way to send
additional data after close is called, as that is a output stream close
method.
calling close, will/should eventually trigger event(END).
Ok, I will make those changes.
Rémy
---
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
5. CometEvent
public class CometEvent {
public enum EventType {
READ,TIMEOUT,SOCKET_CLOSE,CONTAINER_SHUTDOWN,CONTEXT_SHUTDOWN,GENERIC_ERROR
//and anything else, we could also crea
Filip Hanik - Dev Lists wrote:
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
5. CometEvent
public class CometEvent {
public enum EventType {
READ,TIMEOUT,SOCKET_CLOSE,CONTAINER_SHUTDOWN,CONTEXT_SHUTDOWN,GENERIC_ERROR
//and anything else, we could also create groups of types,
RE
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
5. CometEvent
public class CometEvent {
public enum EventType {
READ,TIMEOUT,SOCKET_CLOSE,CONTAINER_SHUTDOWN,CONTEXT_SHUTDOWN,GENERIC_ERROR
//and anything else, we could also create groups of types,
READ,ERROR,SHUTDOWN, with subtypes
Filip Hanik - Dev Lists wrote:
5. CometEvent
public class CometEvent {
public enum EventType {
READ,TIMEOUT,SOCKET_CLOSE,CONTAINER_SHUTDOWN,CONTEXT_SHUTDOWN,GENERIC_ERROR
//and anything else, we could also create groups of types,
READ,ERROR,SHUTDOWN, with subtypes
}
public HttpSer
On 8/11/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
3. public boolean read(HttpServletRequest request, HttpServletResponse
response)
Suggestion - change this method to
public boolean event(CometEvent event)
This will allow the container to implement notifications for
timeouts, s
Filip Hanik - Dev Lists wrote:
any feedback?
If you're talking about me, I'm on vacation, so ...
Rémy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
any feedback?
Filip
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
I believe this would allow for more flexibility in the future and a
cleaner interface.
This doesn't look bad, although I don't have time to really think
about it right now.
Rémy
---
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
I believe this would allow for more flexibility in the future and a
cleaner interface.
This doesn't look bad, although I don't have time to really think
about it right now.
no rush, instead enjoy your weekend, and we can elaborate next wee
Filip Hanik - Dev Lists wrote:
I believe this would allow for more flexibility in the future and a
cleaner interface.
This doesn't look bad, although I don't have time to really think about
it right now.
Rémy
-
To unsubscr
32 matches
Mail list logo