readme

来自「ICE-3.2 一个开源的中间件」· 代码 · 共 18 行

TXT
18 行
字号
This example demonstrates how to clean up per-client objects throughthe use of sessions.When the client starts, a session object is created through which allper-client objects are created. The session object's timestamp must berefreshed by the client on a periodic basis otherwise it will bedestroyed. Once the session is destroyed, whether by the clientdestroying the session upon termination or due to a timeout, allper-client objects are automatically cleaned up by the session object.To run the demo, first start the server:$ serverIn a separate window, start the client:$ client

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?