@Deprecated public class TwinBovespaFASTChannel extends Object implements ITwinFASTChannel
| Constructor and Description |
|---|
TwinBovespaFASTChannel(com.epam.common.transport.Transport primaryTransport,
com.epam.common.transport.Transport backupTransport,
FIXFASTListener listener,
TemplateContainer templateContainer)
Deprecated.
Constructor for create instance of FastClient.
|
TwinBovespaFASTChannel(com.epam.common.transport.Transport primaryTransport,
com.epam.common.transport.Transport backupTransport,
FIXFASTListener listener,
TemplateContainer templateContainer,
ChannelVersion chanelVersion)
Deprecated.
Creates the
FastChannel with specified version. |
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Deprecated.
Connect all transports to the servers.
|
void |
disconnect()
Deprecated.
Disconnect all transports.
|
int |
getBackupPort()
Deprecated.
Returns Port of client transport.
|
FASTDecoderFactory |
getDecoderFactory()
Deprecated.
Returns decoder associate with this channel.
|
int |
getPort()
Deprecated.
Returns Port of client transport.
|
int |
getPrimaryPort()
Deprecated.
Returns Port of client transport.
|
Decoder |
getSecondDecoder()
Deprecated.
|
boolean |
isStarted()
Deprecated.
Returns true if at least one transport connected.
|
void |
resetSeqNum(long newSeqNum)
Deprecated.
Resets channel data.
|
public TwinBovespaFASTChannel(com.epam.common.transport.Transport primaryTransport,
com.epam.common.transport.Transport backupTransport,
FIXFASTListener listener,
TemplateContainer templateContainer)
primaryTransport - Instance of Client transport.backupTransport - Instance of Client transport.listener - Instance of FAST listener.templateContainer - Container of FAST templates.public TwinBovespaFASTChannel(com.epam.common.transport.Transport primaryTransport,
com.epam.common.transport.Transport backupTransport,
FIXFASTListener listener,
TemplateContainer templateContainer,
ChannelVersion chanelVersion)
FastChannel with specified version.primaryTransport - Instance of Client transport.backupTransport - Instance of Client transport.listener - Instance of FAST listener.templateContainer - Container of FAST templates.public boolean isStarted()
isStarted in interface IFASTChannel true if at least one transport connected.public int getPort()
getPort in interface IFASTChannelpublic int getPrimaryPort()
public int getBackupPort()
public void connect()
throws IOException
connect in interface IFASTChannelIOException - If connect does not establish.public void disconnect()
throws IOException
disconnect in interface IFASTChannelIOException - If connect does not closed.public Decoder getSecondDecoder()
public FASTDecoderFactory getDecoderFactory()
IFASTChannelgetDecoderFactory in interface IFASTChannelpublic void resetSeqNum(long newSeqNum)
IFASTChannelresetSeqNum in interface IFASTChannelnewSeqNum - the new seq numCopyright © 2000–2025 EPAM Systems. All rights reserved.