Hi, quys,
This is the first time to upload a message to this mailing list. ;-)

Let me tell you my questions.
I am designing and implementing a NioSocketAcceptor which transforms input
ByteArrayStreams to VO(Value Object)s.
ByteArrayStreams compose of not key-values but only values. With the meta
data for transforming from bytes to VOs, I have to have a handler or a
filter for this job.

For example,
byte stream: 0x610x620x630x640x650x660x670x68(this sample data is just
sample, and I don't check the real data of ASCII for these.)
VO: need to be assigned the first 2 bytes to the field name and the next 6
bytes to the field address.
class VO {
    private String name;
    private String address;
}

I tried to figure out the meaning of hander and filter concepts. Both are
where user defined protocol implementation codes are placed.
Where is the best place to put my bytes to VO transformation codes? And this
kind of codecs or handlers are already provided with MINA?
Please let my review be guided with your help.

Thanks,

-- 
Minjae Kim
E-Mail :  [EMAIL PROTECTED]
NateOn : [EMAIL PROTECTED]
Blog: http://px.tistory.com

Reply via email to