Attributes | Name and Description |
---|---|
|
caplin.fx.services.TenorService()
|
Attributes | Name and Description |
---|---|
|
void
addTenorListener(String sCurrencyPair, Function fCallback)
Registers a function that is executed whenever the available tenors change. |
|
void
removeTenorListener(Function fCallback, fErrorCallback)
Removes the specified function from the list of listeners currently receiving tenor list updates. |
►
caplin.fx.services.TenorService()
►
void
addTenorListener(String sCurrencyPair, Function fCallback)
Registers a function that is executed whenever the available tenors change.
String | sCurrencyPair | The currency pair to which the tenors apply. |
Function | fCallback | The function that will be called once the tenors have been received. The callback function will be provided with an array of tenors, e.g ["SPOT", "1M", "2M", ...]. |
►
void
removeTenorListener(Function fCallback, fErrorCallback)
Removes the specified function from the list of listeners currently receiving tenor list updates.
Function | fCallback | The callback to remove. |
fErrorCallback |