Asynchronous Reply to the Same Socket/Channel/Connection

Replicator webakaunt at gmail.com
Thu Sep 22 15:16:45 EDT 2011


got it. thanks.

Think I found a better way to do it:

           NettyClient extends Actor  // will bootstrap, connect, get the
channel etc...

           case class SendMessage( message: Array[Byte] )

Then to send a message:

           NettyClient ! SendMessage( message )

where NettyClient woult just delegate it to:

           channel.write( message )

Thanks.

--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Asynchronous-Reply-to-the-Same-Socket-Channel-Connection-tp6818792p6821594.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list