com.epam.mdp.full.coders
Class CMEFASTDecoder

java.lang.Object
  extended by com.epam.mdp.full.coders.AbstractFASTDecoder
      extended by com.epam.mdp.full.coders.CMEFASTDecoder
All Implemented Interfaces:
Coder, Decoder

public class CMEFASTDecoder
extends com.epam.mdp.full.coders.AbstractFASTDecoder

Author:
Serhiy_Zahriychuk Date: Oct 30, 2008

Field Summary
 
Fields inherited from class com.epam.mdp.full.coders.AbstractFASTDecoder
a, b
 
Fields inherited from interface com.epam.mdp.full.coders.Coder
PACKET_LENGTH_LIMITATION
 
Constructor Summary
CMEFASTDecoder(Context context)
          Creates the FASTDecoder .
 
Method Summary
protected  void decodeFromMessage(byte[] message, int length, DistributionStrategy strategy, com.epam.mdp.full.coders.stream.SeqNumHelper seqListener)
           
protected  void decodeFromStream(java.io.InputStream stream, DistributionStrategy strategy, com.epam.mdp.full.coders.stream.SeqNumHelper seqListener)
          Decodes from stream data.
 
Methods inherited from class com.epam.mdp.full.coders.AbstractFASTDecoder
a, a, a, decode, decodeBinary, getCountOfMessages, main, resetContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMEFASTDecoder

public CMEFASTDecoder(Context context)
Creates the FASTDecoder .

Method Detail

decodeFromStream

protected void decodeFromStream(java.io.InputStream stream,
                                DistributionStrategy strategy,
                                com.epam.mdp.full.coders.stream.SeqNumHelper seqListener)
Decodes from stream data.

Specified by:
decodeFromStream in interface Decoder
Overrides:
decodeFromStream in class com.epam.mdp.full.coders.AbstractFASTDecoder
Parameters:
stream - the stream
strategy - the strategy

decodeFromMessage

protected void decodeFromMessage(byte[] message,
                                 int length,
                                 DistributionStrategy strategy,
                                 com.epam.mdp.full.coders.stream.SeqNumHelper seqListener)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.