//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project/CC
//
//File: cctdp_midcall.cpp
//
//Version: $Revision: 1.6 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/06/30 15:11:04 $
//
//Organisation:
//      University of Technology
// 
//Author:
//      Pasi Nummisalo
//
//Description:
//      Implementation is for further study.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//      
//Licence:
//     
//
//History:
/*
#include "ccprotocol.h"
#include "cctstate_active.h"
#include "cctdp_midcall.h"

ccTdpMidCall *ccTdpMidCall :: _only = 0;

ccTdpMidCall :: ccTdpMidCall(void)
{
    return;
}

ccTdpMidCall :: ~ccTdpMidCall(void)
{
    _only = 0;
    return;
}

ccTdpMidCall *ccTdpMidCall :: instance(void)
{
    if(_only == 0)
    {
        _only = new ccTdpMidCall;
        assert(_only != 0);
    }
    return _only;
}

//
//Function: proceed
//
//Description:
//   This function is called from PIC when it is time
//   to check DP criteria. Function reads the right
//   dp object from protocol and passes it to common
//   process function in base class.
//
//

void ccTdpMidCall :: proceed(ccProtocol *protocol_)
{
#if CC_DEBUG
traceDp(ccCCT,"Mid Call");
#endif
    
    process(protocol_->getDpValueObject(ccDpMidCall), protocol_);

    return;
}

//
//Function: toNextState
//
//Description:
//
//

void ccTdpMidCall :: toNextState(ccDp &, ccProtocol *protocol_)
{
    exitAction(protocol_,ccTstateActive::instance());
    
    return;
}

//
//Functions: Binap-inputs
//
//Description:
//
//
//

void ccTdpMidCall :: binapCONTINUEpduAct(
    binapCONTINUEpdu *,
    ccProtocol *protocol_)
{
    
    // Is there more TDP-Rs?
    processTDP_R(protocol_->
                 getDpValueObject(ccDpMidCall), protocol_);

    return;
}
*/

