FRAMES NO FRAMES | ||||||
| ||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |
This event object should not be routed or enqueued.
monitor MyMonitor {
context mainContext := context.current();
action onload() {
// Create an instance of a Calculation Extension
com.apama.ccyconverter.CalculationExtension extension := (new com.apama.ccyconverter.BBAMidPriceExtension).create();
// Create an instance of the Currency Converter
com.apama.ccyconverter.CurrencyConverter iface :=
(new com.apama.ccyconverter.CurrencyConverterFactory).create( mainContext, "MyCurrencyConverter", extension );
}
}
Member Summary | |
---|---|
action< > returns string | getCurrencyConverterName
This action returns the name that the Currency Converter was created with. This name must be unique within the application. |
action< > returns com.apama.utils.Params | getParams
This action returns the set of configuration parameters that have been set by the application for the Currency Converter. |
action<com.apama.utils.Params > | setParams
This action sets any configuration parameters that are required for this instance of the Currency Converter. This replaces any existing parameters that were defined for the Currency Converter. |
action<string, string > returns float | getValue
This action gets the current default value from the cache for the supplied to and from currencies. If no direct value can be found, it will also try switching the currencies and going through any cross currency pairs set up. |
action<string, string, string > returns float | getCustomValue
This action gets the value of the supplied field from the cache for the supplied to and from currencies. If no direct value can be found, it will also try switching the currencies and going through any cross currency pairs set up. |
action<string, float > | setValue
This action sets the current default value in the cache for the supplied symbol (of the form 'CCY1/CCY2'). |
action<string, string, float > | setCustomValue
This action sets the value of the supplied field in the cache for the supplied symbol (of the form 'CCY1/CCY2'). |
action<action<com.apama.ccyconverter.CurrencyConverter > > returns integer | addUpdateCallback
This action allows applications to add a callback action that will be called by the Currency Converter whenever the update timeout fires, which signifies the values may have been updated. |
action<integer > | removeUpdateCallback
This action allows applications to remove a specific update callback action that was previously added to the Currency Converter. |
action< > | clearUpdateCallbacks
This action allows applications to remove all update callback actions that were previously added to the Currency Converter. |
action< > returns boolean | isRemote
This action returns a boolean that indicates whether or not this instance of the Currency Converter event object was a remote connection to a Currency Converter, rather than the main instance of the Currency Converter itself. |
action< > | delete
This action destroys the Currency Converter object, and cleans up any data or listeners that have been created by the Currency Converter. |
action<action<com.apama.ccyconverter.CurrencyConverter, com.apama.utils.Error > > returns integer | addErrorCallback
This action allows applications to override the default error handling action used by the Currency Converter to report any errors that occur from actions called on the interface. |
action<integer > | removeErrorCallback
This action allows the application to remove error callback that was added by the addErrorCallback() action using the reference Id provided. |
action< > | clearErrorCallbacks
This action allows the application to remove all error callbacks that were added by the addErrorCallback() action. |
action<com.apama.ccyconverter.CurrencyConverter, com.apama.utils.Error > | defaultErrorCallback
This is the default action that will be called by this instance of the Currency Converter when an error is encountered. |
Member Detail |
---|
action<action<com.apama.ccyconverter.CurrencyConverter, com.apama.utils.Error > > returns integer addErrorCallbackThis action allows applications to override the default error handling action used by the Currency Converter to report any errors that occur from actions called on the interface.
action<action<com.apama.ccyconverter.CurrencyConverter > > returns integer addUpdateCallbackThis action allows applications to add a callback action that will be called by the Currency Converter whenever the update timeout fires, which signifies the values may have been updated.
action< > clearErrorCallbacksThis action allows the application to remove all error callbacks that were added by the addErrorCallback() action.
action< > clearUpdateCallbacksThis action allows applications to remove all update callback actions that were previously added to the Currency Converter.
action<com.apama.ccyconverter.CurrencyConverter, com.apama.utils.Error > defaultErrorCallbackThis is the default action that will be called by this instance of the Currency Converter when an error is encountered.
action< > deleteThis action destroys the Currency Converter object, and cleans up any data or listeners that have been created by the Currency Converter.
action< > returns string getCurrencyConverterNameThis action returns the name that the Currency Converter was created with. This name must be unique within the application.
action<string, string, string > returns float getCustomValueThis action gets the value of the supplied field from the cache for the supplied to and from currencies. If no direct value can be found, it will also try switching the currencies and going through any cross currency pairs set up.
action< > returns com.apama.utils.Params getParamsThis action returns the set of configuration parameters that have been set by the application for the Currency Converter.
action<string, string > returns float getValueThis action gets the current default value from the cache for the supplied to and from currencies. If no direct value can be found, it will also try switching the currencies and going through any cross currency pairs set up.
action< > returns boolean isRemoteThis action returns a boolean that indicates whether or not this instance of the Currency Converter event object was a remote connection to a Currency Converter, rather than the main instance of the Currency Converter itself.
action<integer > removeErrorCallbackThis action allows the application to remove error callback that was added by the addErrorCallback() action using the reference Id provided.
action<integer > removeUpdateCallbackThis action allows applications to remove a specific update callback action that was previously added to the Currency Converter.
action<string, string, float > setCustomValueThis action sets the value of the supplied field in the cache for the supplied symbol (of the form 'CCY1/CCY2').
action<com.apama.utils.Params > setParamsThis action sets any configuration parameters that are required for this instance of the Currency Converter. This replaces any existing parameters that were defined for the Currency Converter.
action<string, float > setValueThis action sets the current default value in the cache for the supplied symbol (of the form 'CCY1/CCY2').
FRAMES NO FRAMES | ||||||
| ||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |