//Distributable_Thread.h,v 1.4 2003/07/12 21:34:01 yamuna Exp

#ifndef DISTRIBUTABLE_THREAD_H
#define DISTRIBUTABLE_THREAD_H

#include "tao/RTScheduling/RTScheduler.h"

class TAO_RTScheduler_Export TAO_DistributableThread
: public RTScheduling::DistributableThread
{
 public:
  
  TAO_DistributableThread (void);

  ~TAO_DistributableThread (void);

  virtual void cancel (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
    ACE_THROW_SPEC ((CORBA::SystemException));

   
  virtual RTScheduling::DistributableThread::DT_State state (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
      ACE_THROW_SPEC ((CORBA::SystemException));
  
 private:
  RTScheduling::DistributableThread::DT_State state_;
};


class TAO_DistributableThread_Factory
{
public:
  static RTScheduling::DistributableThread_ptr create_DT (void);
};

#endif /*DISTRIBUTABLE_THREAD_H*/
