Package com.caplin.motif.fx.calendar
Interface CancellableSettlementDateRequestListener<S extends SettlementDateSubjectInfo>
- All Known Subinterfaces:
SettlementDateRequestListener<S>
public interface CancellableSettlementDateRequestListener<S extends SettlementDateSubjectInfo>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelSettlementDatesRequest
(S subjectInfo) Called when a subscription to Settlement dates is discardedvoid
getSettlementDates
(S subjectInfo, Callback<Set<String>> callback) Called when a request for the valid settlement or business dates for the specified currency pair, year and month.
-
Method Details
-
getSettlementDates
Called when a request for the valid settlement or business dates for the specified currency pair, year and month. 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 business days in the specified month.- Parameters:
subjectInfo
- The subject info describing the settlement date requestcallback
- The callback to call when a result has been provided, passing a set of valid settlement dates in the iso8601 date format, YYYYMMDD.
-
cancelSettlementDatesRequest
Called when a subscription to Settlement dates is discarded- Parameters:
subjectInfo
-
-