com.epam.mdp.full.session.client
Class DispatcherThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.epam.mdp.full.session.client.DispatcherThread
All Implemented Interfaces:
java.lang.Runnable

public class DispatcherThread
extends java.lang.Thread

Dispatcher thread for runs FASDecoder and reads data from Transport;

Author:
Serhiy_Zahriychuk Date: Apr 6, 2009

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DispatcherThread(Transport transport, FIXStreamListener listener, FASTDecoderFactory decoder, com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper, IStreamChannel channel, TransportType transportType)
          Constructor of DispatcherThread for create instance.
DispatcherThread(Transport transport, FIXStreamListener listener, FASTDecoderFactory decoder, TransportType transportType)
          Deprecated. 
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DispatcherThread

@Deprecated
public DispatcherThread(Transport transport,
                                   FIXStreamListener listener,
                                   FASTDecoderFactory decoder,
                                   TransportType transportType)
Deprecated. 

Constructor of DispatcherThread for create instance.

Parameters:
transport - Instance of Transport.
listener - Listener for listen events from FASTDecoder.

DispatcherThread

public DispatcherThread(Transport transport,
                        FIXStreamListener listener,
                        FASTDecoderFactory decoder,
                        com.epam.mdp.full.coders.stream.SeqNumHelper secNumHelper,
                        IStreamChannel channel,
                        TransportType transportType)
Constructor of DispatcherThread for create instance.

Parameters:
transport - Instance of Transport.
listener - Listener for listen events from FASTDecoder.
channel - the channel
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


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