geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Cabrera <Alan.Cabr...@reuters.com>
Subject RE: o.a.g.network.protocol.SocketProtocol and Error Recovery
Date Tue, 12 Oct 2004 18:47:08 GMT
I'm glad that you started a Jira issue.  There seems to be some good
comments brewing on it.

> -----Original Message-----
> From: David Farb [mailto:dmfarb@earthlink.net]
> Sent: Monday, October 11, 2004 11:25 PM
> To: Alan D. Cabrera; dev@geronimo.apache.org
> Subject: RE: o.a.g.network.protocol.SocketProtocol and Error Recovery
> 
> 
> 
> > -----Original Message-----
> > From: Alan D. Cabrera [mailto:adc@toolazydogs.com]
> > Sent: Monday, October 11, 2004 10:00 PM
> > To: dev@geronimo.apache.org; dmfarb@earthlink.net
> > Subject: RE: o.a.g.network.protocol.SocketProtocol and Error
Recovery
> >
> >
> > I think that it needs an error state so that when someone tries to
> > access the dead protocol, it will throw a ProtocolException.
Remember,
> > that when you are in a serviceRead you're not in the stack, per se.
> >
> > I don't think that we need any changes to the Protocol interface but
I'm
> > interested in what you were thinking.
> >
> 
> It may be as simple as the close method in SocketProtocol calling the
> teardown method on the up protocol (similarly for other protocols).

I like this idea very much.





-----------------------------------------------------------------
        Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


Mime
View raw message