users@grizzly.java.net

handling read exceptions

From: John Franey <jjfraney_at_gmail.com>
Date: Thu, 2 Apr 2009 11:04:27 -0400

Hello,

In the context of using UDP:

Say the business level has some rules to apply when particular exceptions
occur. What api/component in grizzly should I hook into to obtain and
handle the exception?


In receive case, the exception is detected by ReadFilter. Should I handle
it in ConnectorHandler.onRead()? or should I have a filter in front of
ReadFilter that handles the exception?

In async send case, I don't yet have a clue. How will I hook in to get the
exception?

In sync send case, I understand this case.


Regards,
John