|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epam.mdp.full.session.client.StreamClientFactory
public final class StreamClientFactory
Factory for create and initialize FastChannel.
| Constructor Summary | |
|---|---|
StreamClientFactory(java.net.URI pathToTemplates)
|
|
| Method Summary | |
|---|---|
void |
assignTemplate(java.io.InputStream template)
Assign new template for decoding to CME FAST client. |
IStreamChannel |
createFASTChannel(Transport transport,
FIXStreamListener listener,
ChannelVersion chanelVersion,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
Creates the instance of FastChannel. |
IStreamChannel |
createFASTChannel(Transport transport,
FIXStreamListener listener,
TransportType transportType)
Creates the instance of FastChannel. |
IStreamChannel |
createFASTChannel(Transport primaryTransport,
Transport backupTransport,
FIXStreamListener listener,
ChannelVersion chanelVersion,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
Creates the instance of FastChannel. |
static StreamClientFactory |
createFASTFactory()
|
static StreamClientFactory |
createFASTFactory(java.io.InputStream streamOfTemplates)
Creates factory with messages templates. |
static StreamClientFactory |
createFASTFactory(java.net.URI pathToTemplate)
Creates factory with messages templates. |
FASTDecoderFactory |
getDecoderFactory(ChannelVersion chanelVersion)
|
TemplateContainer |
getTemplateContainer()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamClientFactory(java.net.URI pathToTemplates)
| Method Detail |
|---|
public static StreamClientFactory createFASTFactory()
public static StreamClientFactory createFASTFactory(java.net.URI pathToTemplate)
pathToTemplate - Path to resource wich contains xml templates.
FASTClientFactory.public static StreamClientFactory createFASTFactory(java.io.InputStream streamOfTemplates)
streamOfTemplates - Instance of InputStream wich contains xml templates.
FASTClientFactory.public void assignTemplate(java.io.InputStream template)
template - input stream.
public IStreamChannel createFASTChannel(Transport transport,
FIXStreamListener listener,
TransportType transportType)
FastChannel.
transport - Instance of Transport.listener - Instance of FIXFASTListener.
FastChannel.public TemplateContainer getTemplateContainer()
public IStreamChannel createFASTChannel(Transport transport,
FIXStreamListener listener,
ChannelVersion chanelVersion,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
FastChannel.
transport - Instance of Transport.listener - Instance of FIXFASTListener.chanelVersion - the chanel versionsecNumHelper -
FastChannel.
public IStreamChannel createFASTChannel(Transport primaryTransport,
Transport backupTransport,
FIXStreamListener listener,
ChannelVersion chanelVersion,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
FastChannel.
primaryTransport - Instance of Transport.backupTransport - Instance of Transport.listener - Instance of FIXFASTListener.chanelVersion - the chanel versionsecNumHelper -
FastChannel.public FASTDecoderFactory getDecoderFactory(ChannelVersion chanelVersion)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||