@Deprecated public class TwinBovespaFASTChannel extends Object implements ITwinFASTChannel
Constructor and Description |
---|
TwinBovespaFASTChannel(Transport primaryTransport,
Transport backupTransport,
FIXFASTListener listener,
TemplateContainer templateContainer)
Deprecated.
Constructor for create instance of FastClient.
|
TwinBovespaFASTChannel(Transport primaryTransport,
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(Transport primaryTransport, 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(Transport primaryTransport, 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 IFASTChannel
public int getPrimaryPort()
public int getBackupPort()
public void connect() throws IOException
connect
in interface IFASTChannel
IOException
- If connect does not establish.public void disconnect() throws IOException
disconnect
in interface IFASTChannel
IOException
- If connect does not closed.public Decoder getSecondDecoder()
public FASTDecoderFactory getDecoderFactory()
IFASTChannel
getDecoderFactory
in interface IFASTChannel
public void resetSeqNum(long newSeqNum)
IFASTChannel
resetSeqNum
in interface IFASTChannel
newSeqNum
- the new seq numCopyright © 2000-2017 EPAM Systems. All Rights Reserved.