Non-Netty client - Any help please, nearly there!
Trustin Lee
trustin at gleamynode.net
Mon Dec 29 04:23:57 EST 2008
Hi Shahbaz,
Could you provide working source code so that people here can
reproduce the problem? For example, the following line in your
TelnetServerHandler.java will fail to compile because there's no local
variable 'buf':
ChannelFuture future = e.getChannel().write(buf.array());
Thanks in advance,
Trustin
On Mon, Dec 29, 2008 at 3:27 AM, skhalid <shahbaz.khalid at gmail.com> wrote:
>
> Hi Frederic,
>
> Thanks for the reply - the bytes getting in and out is not an issue since
> the data is always greater than 100 at least (for now, just assume that the
> while loop does not get stuck, since it doesn't and while I know this is
> strange, and I shouldn't do this - it's just that I haven't added any
> prediction logic for the size of the object that is returned as it is going
> to contain variable data - since I know what is being returned from my
> server, this is not an issue - the while loops also execute once only in
> the tests I am running).
>
> I think there really is a problem with the netty code, since the
> deserialisation/serialisation code works for the connected event of the
> server, but does not work with the message received method of the server.
> But I will try to investigate a bit more.
>
> Thanks
> --
> View this message in context: http://n2.nabble.com/Non-Netty-client-tp1771503p2019089.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
--
Trustin Lee, Principal Software Engineer, JBoss, a division of Red Hat
--
what we call human nature in actuality is human habit
--
http://gleamynode.net/
More information about the netty-users
mailing list