Method and system for tracking clients
First Claim
1. A computer program stored on a computer readable medium for a client tracking system, including:
- a client tracking server object derived from a server class that provides an implementation of a query interface function that overrides the query interface function of the server class, wherein a phantom manager object is a data member of the client tracking server class, wherein a phantom server object is installed when the query interface function of the client tracking server class is invoked, wherein a class of the phantom server object is inherited from the server class, and wherein when a client object invokes a function of a phantom server object of the phantom server object, the function is custom processed by the phantom server object before forwarding the invocation of the function to the client tracking server object.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and system for tracking access by clients to a server object of a server class. The client tracking system provides a derived client tracking server class that includes an overriding implementation of a query function of the server class. The overriding implementation instantiates a phantom server object and returns a pointer to the instantiated phantom server object. The phantom server object has functions that correspond to and override the functions of the server class. These overriding functions perform custom processing on a client-by-client basis and forward their invocation to be corresponding functions of the server object. When a client invokes the query function of the client tracking server object, a pointer to a phantom server object is returned. From then on, when that client invokes a function of the phantom server object, custom processing can be performed for that client.
-
Citations
4 Claims
-
1. A computer program stored on a computer readable medium for a client tracking system, including:
a client tracking server object derived from a server class that provides an implementation of a query interface function that overrides the query interface function of the server class, wherein a phantom manager object is a data member of the client tracking server class, wherein a phantom server object is installed when the query interface function of the client tracking server class is invoked, wherein a class of the phantom server object is inherited from the server class, and wherein when a client object invokes a function of a phantom server object of the phantom server object, the function is custom processed by the phantom server object before forwarding the invocation of the function to the client tracking server object. - View Dependent Claims (2, 3)
-
4. A computer program stored on a computer readable medium for a client tracking system, including:
a client tracking server object derived from a server class that provides an implementation of a query interface function wherein if the query interface function invokes a second function according to convention, then the second function is overridden, wherein a phantom server class that includes functions that correspond to the functions of the server class and that have the same signature as the corresponding function of the server class is provided;
wherein a phantom manager class that includes a create function for instantiating a phantom server object of the phantom server class and returns a reference to the phantom server object is provided;
wherein a client tracking server class that is a derivation of the server class wherein the query function of the client tracking server class invokes the create function of the phantom manager class is provided;
wherein a client tracking Server object is instantiated;
wherein the query function of the client tracking server object is invoked;
wherein the query function invokes the create function of a phantom manager object which instantiates a phantom server object;
wherein the query function returns a reference to the phantom server object.
Specification