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:[EMAIL PROTECTED] > Sent: Monday, October 11, 2004 11:25 PM > To: Alan D. Cabrera; [EMAIL PROTECTED] > Subject: RE: o.a.g.network.protocol.SocketProtocol and Error Recovery > > > > > -----Original Message----- > > From: Alan D. Cabrera [mailto:[EMAIL PROTECTED] > > Sent: Monday, October 11, 2004 10:00 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > 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.
