Executing cross-cutting concerns for client-server remote procedure calls
First Claim
1. A computer-implemented method of executing cross-cutting actions across a plurality of remote procedure calls in an interactive application, comprising:
- processing a source file defining a remote procedure call class specifying a plurality of remote procedure call methods, the source file comprising a decorator annotation annotating the remote procedure call class with one or more decorators such that each of the one or more decorators applies to each of a plurality of remote procedure call methods specified in the remote procedure call class, each of the one or more decorators specifying a cross-cutting action for the interactive application; and
executing the cross-cutting actions specified in each of the decorators in conjunction with executing at least one of the plurality of remote procedure call methods specified in the remote procedure call classwherein the decorators are specified in the source file in the decorator annotation annotating the remote procedure call class.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for implementing cross-cutting actions that cut across many remote procedure calls (RPCs) in an interactive application, such as location-based parallel reality game are provided. In particular, one or more decorators can be associated in a source file, such as a Java source file, with a remote procedure call class defining a plurality of RPC methods for the interactive application. Each decorator can be a set of instructions that gets executed before and after an RPC method and addresses concerns that cut across a plurality of RPC methods for the interactive application.
-
Citations
18 Claims
-
1. A computer-implemented method of executing cross-cutting actions across a plurality of remote procedure calls in an interactive application, comprising:
-
processing a source file defining a remote procedure call class specifying a plurality of remote procedure call methods, the source file comprising a decorator annotation annotating the remote procedure call class with one or more decorators such that each of the one or more decorators applies to each of a plurality of remote procedure call methods specified in the remote procedure call class, each of the one or more decorators specifying a cross-cutting action for the interactive application; and executing the cross-cutting actions specified in each of the decorators in conjunction with executing at least one of the plurality of remote procedure call methods specified in the remote procedure call class wherein the decorators are specified in the source file in the decorator annotation annotating the remote procedure call class. - View Dependent Claims (2, 3, 4, 5, 6, 8, 9)
-
-
7. The computer-implemented method of 4, wherein the before method comprises initiating an asynchronous data store query associated with the cross-cutting action and the after method comprises completing the asynchronous data store query associated with the cross-cutting action.
-
10. A computing device having one or more processors and one or more non-transitory computer-readable media, the one or more non-transitory computer-readable media storing computer-readable instructions for executing a plurality of remote procedure call methods for an interactive application, such as a location based-parallel reality game, the one or more computer-readable media storing a source file defining a remote procedure call class specifying a plurality of remote procedure call methods, the source file annotating the remote procedure call class with one or more decorators such that each of the one or more decorators applies to each of a plurality of remote procedure call methods specified in the remote procedure call class, each of the one or more decorators specifying a cross-cutting action for the interactive application, wherein the one or more processors are configured to execute the cross-cutting actions specified in each of the decorators in conjunction with executing a remote procedure call method specified in the remote procedure call class
wherein each decorator is specified in the source file in the decorator annotation annotating the remote procedure call class.
-
15. A tangible, non-transitory computer-readable medium storing computer-storing computer-readable instructions that when executed by the one or more processors cause the one or more processors to perform operations, the operations comprising:
-
processing a source file defining a remote procedure call class specifying a plurality of remote procedure call methods, the source file annotating the remote procedure call class with one or more decorators such that each of the one or more decorators applies to each of a plurality of remote procedure call methods specified in the remote procedure call class, each of the one or more decorators specifying a cross-cutting action for the interactive application; and executing the cross-cutting actions specified in each of the decorators in conjunction with executing a remote procedure call method specified in the remote procedure call class wherein the decorators are specified in the source file in the decorator annotation annotating the remote procedure call class. - View Dependent Claims (16, 17, 18)
-
Specification