发明名称 Method and system for providing a single object instance per client-server session
摘要 A session singleton object, design pattern, and method for providing computer program code that defines a class for instantiating a session singleton object are disclosed. The class includes a constructor for instantiating the session singleton object, and an access method for accessing the session singleton object. The access method has an input parameter, which is used to locate a session, logic for determining whether the session singleton object exists, logic for creating the session singleton object, and associating the session singleton object with the session only when the session singleton object does not exist, and logic for returning the session singleton to a caller of the access method. Executing the code in a server that is coupled to clients in respective communication sessions results in instantiating one and only one instance of the session singleton object for each of the sessions communicating with the server.
申请公布号 US7107575(B1) 申请公布日期 2006.09.12
申请号 US20020225903 申请日期 2002.08.21
申请人 CISCO TECHNOLOGY, INC. 发明人 MOR YISHAY;WALDMAN KFIR
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址
您可能感兴趣的专利