Send message to all connected Clients
Sebastian Andersson
bofh69 at gmail.com
Tue Oct 13 14:06:14 EDT 2009
On Tue, Oct 13, 2009 at 19:40, nettyuser <nettyuser at mailinator.com> wrote:
> I would like to send some messages from the server to all the connected
> clients. Can someone please let me know the proper way to do this using
> Netty API.
Store the Channels in a ChannelGroup when they connect and then send
the message to the ChannelGroup.
Its used in one of the examples, the chat-server I believe.
/Sebastian
>
> Thanks.
>
> --
> View this message in context: http://n2.nabble.com/Send-message-to-all-connected-Clients-tp3817609p3817609.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
>
--
One laptop per child project: http://laptop.org/
More information about the netty-users
mailing list