The user Bob now gets asked by his chat client if he wants to be friends with Alice.
Bob的聊天客户端现在询问bob是否想和Alice成为朋友。
This is good if you're going to be using the same object throughout the application, such as with a secure chat client.
如果要在整个应用程序中使用同一对象,比如使用一台安全的聊天客户机,那么这样做是有益的。
Web servers wait for browsers to request pages, FTP servers wait for clients to request files, and chat servers wait for incoming chat client connections.
Web服务器要等待浏览器请求页面,FTP服务器要等待客户机请求文件,聊天服务器要等待聊天客户机所发出的连接。
Web servers wait for browsers to request pages, FTP servers wait for clients to request files, and chat servers wait for incoming chat client connections.
Web服务器要等待浏览器请求页面,FTP服务器要等待客户机请求文件,聊天服务器要等待聊天客户机所发出的连接。
应用推荐