//Editor-Info: -*- C++ -*-
//
//Subject:
//
//File:
//
//Version: $Revision: 1.3 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/03/08 12:06:01 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//
//Description:
//      See corresponding header file.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#include "bisupstate_awaitanswerreq.h"

bisupAwaitAnswerReq * bisupAwaitAnswerReq :: _only = 0;

bisupAwaitAnswerReq * bisupAwaitAnswerReq :: instance(void)
{
    if (_only == 0)
    {
        _only = new bisupAwaitAnswerReq;
    }
    return _only;
}

bisupAwaitAnswerReq :: bisupAwaitAnswerReq(void)
    : bisupState()
{
    return;
}

bisupAwaitAnswerReq :: ~bisupAwaitAnswerReq(void)
{
    return;
}

/*
void bisupAwaitAnswerReq :: sigPROGRESSreqAct(
    sigPROGRESSreq *,
    pfProtocol *protocol_)
{
    bisupProtocol *protocol = protocolCast(protocol_);
    // ++TODO++
    return;
}
*/

void bisupAwaitAnswerReq :: sigSETUPrespAct(
    sigSETUPresp *primitive_,
    pfProtocol *protocol_)
{
    bisupProtocol *protocol = protocolCast(protocol_);
    protocol->changeToUserConnectRequestState();
    protocol->sendANMpduToDown(primitive_);
    return;
}
