public interface TenorDateRequestListener<T extends TenorDateSubjectInfo>
Modifier and Type | Method and Description |
---|---|
void |
getTenorDates(T subjectInfo,
Callback<Map<Tenor,String>> callback)
Called when a request for tenor dates for the specified currency pair is
made from the frontend.
|
void getTenorDates(T subjectInfo, Callback<Map<Tenor,String>> callback)
Called when a request for tenor dates for the specified currency pair is
made from the frontend. The provided callback object allows for asynchronous
invocations to a calendar service. Once a result is provided, it can be
returned to the frontend via a call to Callback.call(Object)
with the provided
tenors.
Only SPOT and FWD tenors need to be provided, which should include TODAY, TOM, SPOT, 1D, 1W, 2W, 3W, 1M etc up to the maximum tenor provided by the system. ON, TN and SN are not required as these are mapped to TODAY, TOM and 1D respectively.
subjectInfo
- The subject info describing the tenor date requestcallback
- The callback to call when a result has been provided.Copyright © 2020 Caplin Systems.