Argument | Description |
psTrackerName | A name for your custom tracker. The name must be unique in your application. |
psTrackerType | The type of your tracker. This is application-dependent and must be unique in your application. |
mainContext | A reference to the main context. |
configSchema | An instance of com.apama.position.PositionConfigSchema, which defines the configuration parameters that can be set when subscribing to this tracker. |
trackerCbIface | An instance of com.apama.position.tracker.PSTrackerInterface that defines the set of callback actions the custom position tracker is registering. These are the actions that your custom tracker is required to implement plus any other actions required by your application. See Actions custom trackers must implement. |
cbOnConfig | A callback action that will be called before registration is complete. Use this action to perform any initial configuration, for example, if you want to configure a particular persistence mechanism. You specify this argument only for the registerTrackerWithConfig() action. |
cbRegistered | A callback action that will be called after registration of a custom tracker. This action returns an instance of PSTrackerManagerInterface, a boolean value that indicates success or failure, and a string message that you define and that is provided back to you upon registration. A typical use of this string is to provide information if the registration failed, for example, if you try to register a tracker with the same trackerType as a tracker already registered. |