On 11/6/07, liquidchen <[EMAIL PROTECTED]> wrote:
>
> Hi, I write a Protocol Encoder and Decoder to receive and send length data
> message, decoder will receive all message by length, and encoder will add
> length data for remote
> client, and I find that the decoder will be fire when message incoming, but
> when I send the
> message to remote site, I find that the encoder not be fire, do anyone know
> what may cause
> this happen?? Thanks...

Probably because:

* your encoder didn't call ProtocolEncoderOutput.write(),
* or your encoder raised an exception and you didn't notice it.

I don't have much clue considering the amount of information you provided.

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to