mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aquafina <p...@mailinator.com>
Subject Re: sending/receiving a byte[]
Date Fri, 07 Dec 2007 04:22:12 GMT

There were no exception. Only that it seems client never received anything

When I changed ProtocolCodecFilter to TextLineFactory and sent a string, it
works. 



Trustin Lee wrote:
> 
> What exception do you get?
> 
> On Dec 7, 2007 4:16 AM, aquafina <plum@mailinator.com> wrote:
>>
>> Hello,
>>
>> I am new with MINA. Would anyone please show me how to configure
>> SocketAcceptorConfig to receive/send a byte[]. I tried to wrap it with a
>> Serializable object and used
>>
>> cfg.getFilterChain().addLast(
>>                 "codec",
>>                 new ProtocolCodecFilter(
>>                         new ObjectSerializationCodecFactory()));
>>
>> but it doesn't seem to work.
>>
>> Thanks,
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/sending-receiving-a-byte---tf4958040s16868.html#a14199165
>> Sent from the Apache MINA Support Forum mailing list archive at
>> Nabble.com.
>>
>>
> 
> 
> 
> -- 
> 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/sending-receiving-a-byte---tf4958040s16868.html#a14206605
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.


Mime
View raw message