The core pieces of the ATG RPC API architecture are:
atg.integrations.Command
interface – generic representation of a commandatg.integrations.CommandHandler
interface – executes a command, and performs pre- or postprocessingatg.integrations.CommandResult
class – encapsulates the results of a command
To implement the RPC API, you create classes that implement the Command
or CommandHandler
interface, and return CommandResult
objects. This section discusses the expected behavior of these classes. Note that some of this behavior is not enforced by the interfaces, but is nonetheless required by the API.
For additional information about Command
, CommandHandler
, and CommandResult
, see the ATG API Reference.