Handling received messages directly in the Client

Trustin Lee trustin at gmail.com
Thu Sep 15 08:27:20 EDT 2011


You might want to give a BlockingReadHandler a try, or implement something
similar.
On Sep 15, 2011 9:12 PM, "c3p0" <m41leater at gmail.com> wrote:
> Hi,
>
> I am new to netty (using it just a few days). I have made an client -
server
> example.
> I have defined handler for the server and the client.
> Basically I connect with the client to the server and send some messages.
> Every received message gets send back (with the content of the message
being
> converted to upper case).
> All the work on the received messages, on server and client-side, is done
by
> the defined handlers.
>
> But I would like to use, or better receive/accept, some of the messages
> directly in the client
> not (just) in the handler. So my question is is it possible to have some
> listener to receive messages directly in the client-program and not in its
> handlers.
>
> I would appreciate if someone could help me with this issue. Or at least
> tell me if its even possible with netty .
>
>
> --
> View this message in context:
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Handling-received-messages-directly-in-the-Client-tp6789107p6789107.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110915/21cf578e/attachment.html 


More information about the netty-users mailing list