ferent established
protocols (cannot redesign), how would you handle that?
--
View this message in context:
http://www.nabble.com/How-can-I-configure-multiple-decoders-in-MINA--tf3561571.html#a10699327
Sent from the mina dev mailing list archive at Nabble.com.
Hi Alwyn,
On 5/20/07, Alwyn Schoeman <[EMAIL PROTECTED]> wrote:
I agree with mat-29.
In order for DemuxingProtocolCodecFactory to call a specific Decoder or
Encoder, it will need to know what the type of the message is.
Each MessageDecoder can determine if the incoming data is for itself
or
extending class?
Assume you have to handle different messages from different established
protocols (cannot redesign), how would you handle that?
--
View this message in context:
http://www.nabble.com/How-can-I-configure-multiple-decoders-in-MINA--tf3561571.html#a10699327
Sent from the mina dev mai
:
http://www.nabble.com/How-can-I-configure-multiple-decoders-in-MINA--tf3561571.html#a10699327
Sent from the mina dev mailing list archive at Nabble.com.
EMAIL PROTECTED]> wrote:
> > > >> > Really? However my server is listening on one port. How
> > > messageDecoder
> > > >> class
> > > >> > knows different type of messages? Can you explain? Thanks.
> > > >>
> > > >>
n you explain? Thanks.
> > >>
> > >> It seems like Yogs is talking about creating multiple
MessageDecoder
> > >> classes? You can register multiple MessageDecoders and
> > >> MessageEncoders to DemuxingProtocolCodecFactor
messageDecoder
> > >> class
> > >> > knows different type of messages? Can you explain? Thanks.
> > >>
> > >> It seems like Yogs is talking about creating multiple MessageDecoder
> > >> classes? You can register multiple MessageDeco
otocolCodecFactory.
>>
>> HTH,
>> Trustin
>> --
>> what we call human nature is actually human habit
>> --
>> http://gleamynode.net/
>> --
>> PGP Key ID: 0x0255ECA6
>>
>
>
--
View this message in context:
http://www.nabble.com/How-can-I-configure-multiple-decoders-in-MINA--tf3561571.html#a10183671
Sent from the mina dev mailing list archive at Nabble.com.
;> classes? You can register multiple MessageDecoders and
>> MessageEncoders to DemuxingProtocolCodecFactory.
>>
>> HTH,
>> Trustin
>> --
>> what we call human nature is actually human habit
>> --
>> http://gleamynode.net/
>> --
>> PGP Key ID: 0x0255
In my case, i have to use IF ELSE to judge which protocol, right?
2007/4/25, Trustin Lee <[EMAIL PROTECTED]>:
On 4/25/07, mat <[EMAIL PROTECTED]> wrote:
> Really? However my server is listening on one port. How messageDecoder
class
> knows different type of messages? Can you explain? Thanks.
I
On 4/25/07, mat <[EMAIL PROTECTED]> wrote:
Really? However my server is listening on one port. How messageDecoder class
knows different type of messages? Can you explain? Thanks.
It seems like Yogs is talking about creating multiple MessageDecoder
classes? You can register multiple MessageDeco
>> > Could you explain the protocol you want to implement more in detail?
>> > Do you just want to merge two codecs into one, or to implement
>> > multi-layered protocol?
>> >
>> > Trustin
>> > --
>> > what we call human nature is actually human habit
>> > --
>> > http://gleamynode.net/
>> > --
>> > PGP Key ID: 0x0255ECA6
>> >
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/How-can-I-configure-multiple-decoders-in-MINA--tf3561571.html#a10175213
Sent from the mina dev mailing list archive at Nabble.com.
; > >
>> > > Hi,
>> > >
>> > > Can I register more than one Encoders and Decoders to
>> > ProtocolCodecFactory
>> > > which is extended from mina's DemuxingProtocolCodecFactory?
>> > > Or we can have only one decoder and enco
>
> > Can I register more than one Encoders and Decoders to
> ProtocolCodecFactory
> > which is extended from mina's DemuxingProtocolCodecFactory?
> > Or we can have only one decoder and encoder registered as demonstrated
> in
> > SumUp example?
> > How can
ly one decoder and encoder registered as demonstrated
in
> SumUp example?
> How can I configure multiple decoders in MINA?
Could you explain the protocol you want to implement more in detail?
Do you just want to merge two codecs into one, or to implement
multi-layered protocol?
Trustin
--
wha
?
How can I configure multiple decoders in MINA?
Could you explain the protocol you want to implement more in detail?
Do you just want to merge two codecs into one, or to implement
multi-layered protocol?
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
Hi,
Can I register more than one Encoders and Decoders to ProtocolCodecFactory
which is extended from mina’s DemuxingProtocolCodecFactory?
Or we can have only one decoder and encoder registered as demonstrated in
SumUp example?
How can I configure multiple decoders in MINA?
Thanks in
17 matches
Mail list logo