websocket - Netty send final message to ChannelGroup before closing -
i'm new netty , i'm trying implement websocket server. follow examples provided in source code.
i graceful shutdown of netty server , want catch , send last message connected channels , close server. how possible? use defaultchannelgroup
netty version 4.0.24 , have websocket implementation similar examples provided
and following resource: https://gist.github.com/aolshevskiy/1653087
implement maybe beforecloselistener?
thank in advance
finally, have managed adding defaultchannelgroup , sending message connected channels, problem was adding each channel @ stage , ending having nioserversocketchannel instead of niosocketchannel job me.
Comments
Post a Comment