Article From:https://www.cnblogs.com/lebo0425/p/9911913.html
Recently, when learning netty, I found that the monitor mode was used in it. It feels very practical. When I looked at the design mode before, I just looked at it, but I didn’t use it. In fact, this is a very important and practical design pattern, which is used in many frameworks.Netty applications:“ `Server Bootstrap. bind (8000). addListener (new Generic FutureListener)
Link of this Article: Listener mode and observer mode

Leave a Reply

Your email address will not be published. Required fields are marked *