Closing Channels in Netty

Mike McGrady mmcgrady at topiatechnology.com
Tue Aug 25 01:59:18 EDT 2009


Thank you!

Sent from my iPhone

On Aug 24, 2009, at 8:08 PM, Thomas Bocek <bocek at ifi.uzh.ch> wrote:

> Michael McGrady wrote:
>> Here is hopefully an easy question that I have not been doing good
>> with.  What is the best way to close a channel at both the sender and
>> receiver (client and server) ends?
>
> Channel.close() will close a TCP channel on the server and client  
> side.
> So you can call close() from either sender or receiver and it will  
> close
> both sides.
>
> Thomas
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users


More information about the netty-users mailing list