Package com.caplin.motif.datasource
Extensions to the DataSource for Java library.
-
Interface Summary Interface Description BlotterListener BuilderMessage BuilderMessage
provide additional boolean flags to a field which must be set when setting the field, e.g.CachedDataProvider<T extends SubjectInfo> A DataProvider which receives a singleCachedDataProvider.onRequest(SubjectInfo)
and a singleCachedDataProvider.onDiscard(SubjectInfo)
, even if requests are made from multiple peers.CachedMessageProvider<T extends SubjectInfo> CachedObjectProvider<S,T extends SubjectInfo> CloseableTradeListener LeggedMessage LeggedMessageRoot Message SubjectInfo Provides an object representation of a subject request.SubjectParser<T extends SubjectInfo> A SubjectParser validates and parses subject requests into Domain objects; these objects provide methods which return the information contained in the request. -
Class Summary Class Description BlotterAdapter BlotterItemFactory CachedAdapter Provides a Single-Request, Single-Discard DataSource API for aDataProvider
and simplifies thePublisher
API.CachedPublisher Provides a mechanism for publishing messages and events; maintains a cache so that new subscribers can be serviced with existing messages automatically.CacheOperations LeggedMessageChild ObjectPublisher<S,T extends SubjectInfo> Publishes objects by serialising before sending on the wire.SubjectMessagePublisher<T extends SubjectInfo> TokenisedNamespace TokenisedSubjectUtil Util to retrieve values from a given subject defined by the namespace and tokens that the namespace. -
Exception Summary Exception Description SubjectParserException An exception that is thrown when a SubjectParser encounters a format issue with a subject.