Package | Description |
---|---|
com.caplin.motif.datasource |
Extensions to the DataSource for Java library.
|
com.caplin.motif.fx.blotter |
Parent package with classes that relate to blotters.
|
com.caplin.motif.fx.blotter.subject |
Subjects for the default blotters in the FX Motif.
|
com.caplin.motif.fx.calendar |
Classes and interfaces relating to tenor dates and settlement dates.
|
com.caplin.motif.fx.rates |
Classes and interfaces that relate to streaming FX rates.
|
com.caplin.motif.fx.trading.allocation |
Classes and interfaces that relate to post-trade allocations.
|
com.caplin.motif.fx.trading.orders |
Parent package with classes and interfaces that relate to orders in general.
|
com.caplin.motif.trading |
Classes that relate to trading in general but not specifically the FX asset class.
|
Modifier and Type | Method and Description |
---|---|
CachedPublisher |
CachedAdapter.createActivePublisher(com.caplin.datasource.namespace.Namespace namespace,
CachedDataProvider<?> dataProvider,
SubjectParser<?> parser)
Creates an
ActivePublisher that will
publish messages on the specified Namespace.
This method uses a subject parser which allows subjects to be parsed into
meaningful request objects, for example the FXSubjectInfo . |
CachedPublisher |
CachedAdapter.createActivePublisher(com.caplin.datasource.namespace.Namespace namespace,
CachedDataProvider<?> dataProvider,
SubjectParser<?> parser,
boolean sendDiscardAfterError)
Creates an
ActivePublisher that will
publish messages on the specified Namespace.
This method uses a subject parser which allows subjects to be parsed into
meaningful request objects, for example the FXSubjectInfo |
Modifier and Type | Method and Description |
---|---|
FXBlotterPublisher |
FXBlotterAdapter.createBlotterPublisher(FXBlotter blotter,
FXBlotterProvider<? extends FXBlotterSubjectInfo> provider,
SubjectParser<FXBlotterSubjectInfo> blotterSubjectParser)
Creates an
FXBlotterPublisher for the blotter provided. |
FXCachedBlotterPublisher |
FXBlotterAdapter.createCachedBlotterPublisher(FXBlotter blotter,
FXBlotterProvider<? extends FXBlotterSubjectInfo> provider,
SubjectParser<FXBlotterSubjectInfo> blotterSubjectParser)
Creates an
FXCachedBlotterPublisher for the blotter provided. |
FXCachedBlotterPublisher |
FXBlotterAdapter.createCachedBlotterPublisher(FXBlotter blotter,
FXBlotterProvider<? extends FXBlotterSubjectInfo> provider,
UserSessionObservable userSessionObservable,
SubjectParser<FXBlotterSubjectInfo> blotterSubjectParser)
Creates an
FXCachedBlotterPublisher for the blotter provided. |
Modifier and Type | Class and Description |
---|---|
class |
FXBlotterItemSubjectParser
The default subject parser the used for blotter item requests.
|
class |
FXBlotterSubjectParser
The default subject parser the API uses for Blotter Container Requests
|
Modifier and Type | Method and Description |
---|---|
<S extends SettlementDateSubjectInfo> |
FXCalendarAdapter.registerSettlementDateProvider(SettlementDateRequestListener<S> listener,
com.caplin.datasource.namespace.Namespace namespace,
SubjectParser<S> subjectParser)
Used to register a provider of settlement dates that responds to non-standard subjects.
|
<T extends TenorDateSubjectInfo> |
FXCalendarAdapter.registerTenorDateProvider(TenorDateRequestListener<T> listener,
com.caplin.datasource.namespace.Namespace namespace,
SubjectParser<T> subjectParser)
Used to register a provider of tenor dates that responds to non-standard subjects.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSubjectParser<T extends AbstractSubjectInfo>
Abstract parent class that provides an implementation of
SubjectParser with common functions
shared by the subclasses FXSubjectParser and MetalSubjectParser . |
class |
FXSubjectParser
Parses the client's request to stream a rate into an object with convenience
methods to obtain the information from the request.
|
class |
MetalSubjectParser
Implementation of
SubjectParser that parses subscription parameters into a domain
object representing a subscription to streaming rates for precious metals. |
Modifier and Type | Method and Description |
---|---|
FXQuotePublisher |
FXRatesAdapter.createMetalQuotePublisher(CachedDataProvider<? extends MetalSubjectInfo> provider,
SubjectParser<? extends MetalSubjectInfo> subjectParser)
Creates an FXQuotePublisher that is able to respond to messages
received on the CachedDataProvider that is passed in.
|
FXQuotePublisher |
FXRatesAdapter.createMetalQuotePublisher(CachedDataProvider<? extends MetalSubjectInfo> provider,
SubjectParser<? extends MetalSubjectInfo> subjectParser,
boolean sendDiscardAfterError)
Creates an FXQuotePublisher that is able to respond to messages
received on the CachedDataProvider that is passed in.
|
FXQuotePublisher |
FXRatesAdapter.createQuotePublisher(CachedDataProvider<? extends FXSubjectInfo> provider,
SubjectParser<? extends FXSubjectInfo> subjectParser)
Creates an FXQuotePublisher that is able to respond to messages
received on the CachedDataProvider that is passed in.
|
FXQuotePublisher |
FXRatesAdapter.createQuotePublisher(CachedDataProvider<? extends FXSubjectInfo> provider,
SubjectParser<? extends FXSubjectInfo> subjectParser,
boolean sendDiscardAfterError)
Creates an FXQuotePublisher that is able to respond to messages
received on the CachedDataProvider that is passed in.
|
Modifier and Type | Method and Description |
---|---|
void |
FXPostAllocationAdapter.registerPostAllocationTradeViewListener(SubjectParser<AllocationViewEvent> subjectParser,
PostTradeAllocationViewListener listener)
Registers the listener that will service the request to view the details
of already allocated trades.
|
Modifier and Type | Method and Description |
---|---|
void |
FXOrdersAdapter.registerStrategyDetailsRequestListenerFactory(StrategyDetailsRequestListenerFactory factory,
com.caplin.datasource.namespace.Namespace namespace,
SubjectParser<? extends StrategySubjectInfo> subjectParser)
Registers a factory and your own parser implementation that will be asked to create the
StrategyDetailsRequestListenerFactory
which will listen to strategy detail requests from the client. |
void |
FXOrdersAdapter.registerStrategyDetailsRequestListenerFactory(StrategyDetailsRequestListenerFactory factory,
SubjectParser<? extends StrategySubjectInfo> subjectParser)
Deprecated.
This requires the library to use the deprecated method
getSubjectRegex() and is therefore
scheduled for removal. Use FXOrdersAdapter.registerStrategyDetailsRequestListenerFactory(StrategyDetailsRequestListenerFactory, Namespace, SubjectParser)
intead. |
Modifier and Type | Method and Description |
---|---|
void |
TradeAdapter.registerPostAllocationTradeViewListener(SubjectParser<AllocationViewEvent> subjectParser,
PostTradeAllocationViewListener listener)
Registers the listener that will service the request to view the allocations
of an already allocated trade.
|
Copyright © 2015 Caplin Systems.