Hi Trustin,

Been pretty busy, so couldnt review this as yet.

The downcasting bit makes me uncomfortable esp knowing that it can
lead to horrible run time exceptions.  As I was saying, one
possibility is to define a new class called Message, which will have
the Object representation of the message and the raw ByteBuffer as
well.  Generics is of course another possibility and wont cause run
time exceptions.  We can have the Message class defined as class <T>
Message and we can instantiate it with the type of message at run time
(I may be completely wrong over here, havent looked at MINA in detail
before making these suggestions)

Regards,
Vinod.

On 5/9/05, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I checked in the integrated API to
> https://svn.apache.org/repos/asf/directory/network/branches/api_integration
> 
> Please review the new API and package organization.
> 
--snip--

Reply via email to