com.epam.cmemdp.impl.reader
Class FastChannelReaderImpl
java.lang.Object
com.epam.cmemdp.impl.reader.FastChannelReaderImpl
- All Implemented Interfaces:
- FastChannelReader
public class FastChannelReaderImpl
- extends java.lang.Object
- implements FastChannelReader
Field Summary |
static int |
KBYTE
|
Method Summary |
void |
connect(Connection connectionA,
Connection connectionB,
java.lang.String channelID,
FastChannelReaderListener listener,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
|
void |
connect(Connection connectionParams,
java.lang.String channelID,
FastChannelReaderListener listener,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
Connects channel. |
void |
disconnect(Connection connection,
java.lang.String channelID)
Disconnects channel. |
FASTDecoderFactory |
getDecoderFactory()
|
void |
setClientFactory(StreamClientFactory fastFactoryProxy)
|
void |
setNetworkInterfaceA(java.lang.String networkInterface)
|
void |
setNetworkInterfaceB(java.lang.String networkInterface)
|
void |
stop()
Stops channel reader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KBYTE
public static final int KBYTE
- See Also:
- Constant Field Values
FastChannelReaderImpl
public FastChannelReaderImpl(java.lang.String uriToTemplates)
setNetworkInterfaceA
public void setNetworkInterfaceA(java.lang.String networkInterface)
- Specified by:
setNetworkInterfaceA
in interface FastChannelReader
setNetworkInterfaceB
public void setNetworkInterfaceB(java.lang.String networkInterface)
- Specified by:
setNetworkInterfaceB
in interface FastChannelReader
setClientFactory
public void setClientFactory(StreamClientFactory fastFactoryProxy)
connect
public void connect(Connection connectionParams,
java.lang.String channelID,
FastChannelReaderListener listener,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
- Description copied from interface:
FastChannelReader
- Connects channel.
- Specified by:
connect
in interface FastChannelReader
- Parameters:
connectionParams
- the connection parameterschannelID
- the channel IDlistener
- the channel listener
connect
public void connect(Connection connectionA,
Connection connectionB,
java.lang.String channelID,
FastChannelReaderListener listener,
com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
TransportType transportType)
- Specified by:
connect
in interface FastChannelReader
getDecoderFactory
public FASTDecoderFactory getDecoderFactory()
throws java.io.IOException
- Specified by:
getDecoderFactory
in interface FastChannelReader
- Throws:
java.io.IOException
disconnect
public void disconnect(Connection connection,
java.lang.String channelID)
- Description copied from interface:
FastChannelReader
- Disconnects channel.
- Specified by:
disconnect
in interface FastChannelReader
- Parameters:
connection
- the connection parameters
stop
public void stop()
- Description copied from interface:
FastChannelReader
- Stops channel reader.
- Specified by:
stop
in interface FastChannelReader
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.