You need to have some kind of "framing" as tcp may fragment data

2016-09-06 7:50 GMT+02:00 <[email protected]>:

> Hi,
>
> I am just starting to learn NETTY and have a question with regards to
> using NETTY to encode and decode POJOs.
>
> All of the examples I can find are really geared around knowing the length
> of the data coming in and I was wondering if I am serialising and
> deserialing my POJOs do I need to worry about framing my data or will NETTY
> take care of it for me.  My POJOs will most be consisting of int's, string
> and Date objects.
>
> From initial testing I can serialise a POJO and it comes out fine at the
> other end and I can access the data, but wanted to make sure once my POJOs
> get bigger (currently only a few strings for testing) if I need to lean how
> to do this now.
>
> Thanks,
>
> Deacon.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/netty/48b13a45-61b5-4299-ac1e-8d5d11068a06%40googlegroups.com
> <https://groups.google.com/d/msgid/netty/48b13a45-61b5-4299-ac1e-8d5d11068a06%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/CAKrGPjyAcfjMw13E7pTnKao5-QzsEcNp1wvnpPrvJVXF%3Dj%3DvCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to