|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.mdp.full.session.client.TwinBovespaStreamChannel
@Deprecated public class TwinBovespaStreamChannel
This class provides the functionality to establish a connection with FAST servers, reading data and transforming them into FIX message.
Constructor Summary | |
---|---|
TwinBovespaStreamChannel(Transport primaryTransport,
Transport backupTransport,
FIXStreamListener listener,
TemplateContainer templateContainer)
Deprecated. Constructor for create instance of FastClient. |
|
TwinBovespaStreamChannel(Transport primaryTransport,
Transport backupTransport,
FIXStreamListener listener,
TemplateContainer templateContainer,
ChannelVersion chanelVersion)
Deprecated. Creates the FastChannel with specified version. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwinBovespaStreamChannel(Transport primaryTransport, Transport backupTransport, FIXStreamListener listener, TemplateContainer templateContainer)
primaryTransport
- Instance of Client transport.backupTransport
- Instance of Client transport.listener
- Instance of FAST listener.templateContainer
- Container of FAST templates.public TwinBovespaStreamChannel(Transport primaryTransport, Transport backupTransport, FIXStreamListener 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.Method Detail |
---|
public boolean isStarted()
isStarted
in interface IStreamChannel
true
if at least one transport connected.public int getPort()
getPort
in interface IStreamChannel
public int getPrimaryPort()
public int getBackupPort()
public void connect() throws java.io.IOException
connect
in interface IStreamChannel
java.io.IOException
- If connect does not establish.public void disconnect() throws java.io.IOException
disconnect
in interface IStreamChannel
java.io.IOException
- If connect does not closed.public Decoder getSecondDecoder()
public FASTDecoderFactory getDecoderFactory()
IStreamChannel
getDecoderFactory
in interface IStreamChannel
public void resetSeqNum(long newSeqNum)
IStreamChannel
resetSeqNum
in interface IStreamChannel
newSeqNum
- the new seq num
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |