public class FXContainerAdapter extends Object
An FXContainerAdapter provides FX grids.
Typically, an FXContainerAdapter will be setup as follows:
FXContainerAdapter adapter = new FXContainerAdapter(dataSource);
Constructor and Description |
---|
FXContainerAdapter(com.caplin.datasource.DataSource dataSource)
Constructs an FXContainerAdapter that will utilise the specified
DataSource and its configuration for communication with the motif.
|
Modifier and Type | Method and Description |
---|---|
void |
createStaticFXContainer(String name,
List<String> currencyPairs)
Creates a publisher that automatically provides a static container of FX SPOT rates.
|
void |
createStaticFXContainer(String name,
SubjectList subjectList)
Creates a publisher that automatically provides a static container of FX SPOT rates
using the minimum volume band dealt in the base currency.
|
public FXContainerAdapter(com.caplin.datasource.DataSource dataSource)
dataSource
- The DataSource that will be used to receive requests
for FX grids.public void createStaticFXContainer(String name, List<String> currencyPairs)
name
- The name of the container.currencyPairs
- A list of available currency pairs for example: "GBPEUR" or "EURUSD".public void createStaticFXContainer(String name, SubjectList subjectList)
name
- The name of the container.subjectList
- The subject list is used to provide custom subjects for rates.Copyright © 2015 Caplin Systems.