On Wed, 2011-05-11 at 15:19 +0530, Asankha C. Perera wrote: > Hi All > > Should the NHttpRequestExecutionHandler.finalizeContext() method be > called before or after a EventListener.connectionClosed() when a remote > party terminates the connection? Right now its called before, and thus > when trying to handle a connection closed event, the state is not > present anymore.. > > thanks > asankha >
Asankha The order is arbitrary. Initially EventListener interface was meant to serve merely as an injection point for connection life-cycle logging rather than as a protocol handler. Feel free to change the sequence in which those events get fired. Cheers Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
