public class FXCachedBlotterMessageFactory extends Object
Instances of this class should be obtained from FXCachedBlotterPublisher.getMessageFactory()
This class has the capability to create the FXCachedBlotterMessage
, which represents the
Container message, with its constituent items, and that data for those items
Constructor and Description |
---|
FXCachedBlotterMessageFactory(FXBlotter blotter,
FXBlotterItemMessageFactory itemFactory)
Deprecated.
You should not need to create
instances of this class yourself. Instead instances should be obtained from
FXCachedBlotterPublisher.getMessageFactory() |
Modifier and Type | Method and Description |
---|---|
FXCachedBlotterMessage |
createBlotterMessage(FXBlotterSubjectInfo subjectInfo)
Creates the
FXBlotterMessage which represents the Container for the
blotter belonging to the user and blotter subject defined in the FXBlotterSubjectInfo
specified. |
FXCachedBlotterMessage |
createBlotterMessage(String username)
Creates the
FXBlotterMessage which represents the Container for the blotter belonging
to the username provided. |
@Deprecated public FXCachedBlotterMessageFactory(FXBlotter blotter, FXBlotterItemMessageFactory itemFactory)
FXCachedBlotterPublisher.getMessageFactory()
blotter
- The object containing the Container subject regex, and the Record Item subject regex for that Container.itemFactory
- The factory to be used to create the FXBlotterItemMessage
public FXCachedBlotterMessage createBlotterMessage(String username)
Creates the FXBlotterMessage
which represents the Container for the blotter belonging
to the username provided.
Prefer to use createBlotterMessage(FXBlotterSubjectInfo)
if you are servicing a filter request
username
- The username for which the Container belongs to.public FXCachedBlotterMessage createBlotterMessage(FXBlotterSubjectInfo subjectInfo)
Creates the FXBlotterMessage
which represents the Container for the
blotter belonging to the user and blotter subject defined in the FXBlotterSubjectInfo
specified.
Use this callback if you are servicing a request containing filter parameters.
subjectInfo
- Copyright © 2015 Caplin Systems.