public final class FASTClientFactory extends Object
FastChannel
.Modifier and Type | Method and Description |
---|---|
void |
assignTemplate(InputStream template)
Assign new template for decoding to CME FAST client.
|
IFASTChannel |
createFASTChannel(Transport transport,
FIXFASTListener listener,
ChannelVersion chanelVersion,
com.epam.fast.full.coders.stream.SequenceObserver sequenceObserver,
TransportType transportType)
Creates the instance of
FastChannel . |
IFASTChannel |
createFASTChannel(Transport transport,
FIXFASTListener listener,
TransportType transportType)
Creates the instance of
FastChannel . |
IFASTChannel |
createFASTChannel(Transport primaryTransport,
Transport backupTransport,
FIXFASTListener listener,
ChannelVersion chanelVersion,
com.epam.fast.full.coders.stream.SequenceObserver sequenceObserver,
TransportType transportType)
Creates the instance of
FastChannel . |
static FASTClientFactory |
createFASTFactory(InputStream streamOfTemplates)
Creates factory with messages templates.
|
FASTDecoderFactory |
getDecoderFactory(ChannelVersion chanelVersion) |
TemplateContainer |
getTemplateContainer() |
public static FASTClientFactory createFASTFactory(InputStream streamOfTemplates)
streamOfTemplates
- Instance of InputStream
wich contains xml templates.FASTClientFactory
.public void assignTemplate(InputStream template)
template
- input stream.public IFASTChannel createFASTChannel(Transport transport, FIXFASTListener listener, TransportType transportType)
FastChannel
.transport
- Instance of Transport
.listener
- Instance of FIXFASTListener
.FastChannel
.public TemplateContainer getTemplateContainer()
public IFASTChannel createFASTChannel(Transport transport, FIXFASTListener listener, ChannelVersion chanelVersion, com.epam.fast.full.coders.stream.SequenceObserver sequenceObserver, TransportType transportType)
FastChannel
.transport
- Instance of Transport
.listener
- Instance of FIXFASTListener
.chanelVersion
- the chanel versionsequenceObserver
- FastChannel
.public IFASTChannel createFASTChannel(Transport primaryTransport, Transport backupTransport, FIXFASTListener listener, ChannelVersion chanelVersion, com.epam.fast.full.coders.stream.SequenceObserver sequenceObserver, TransportType transportType)
FastChannel
.primaryTransport
- Instance of Transport
.backupTransport
- Instance of Transport
.listener
- Instance of FIXFASTListener
.chanelVersion
- the chanel versionsequenceObserver
- FastChannel
.public FASTDecoderFactory getDecoderFactory(ChannelVersion chanelVersion)
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.