//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: sigstate_calldelivered.cpp
//
//Version: $Revision: 1.4 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/12/10 16:10:20 $
//
//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 "sigstate_calldelivered.h"

sigCallDelivered *sigCallDelivered :: _only = 0;

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

sigCallDelivered :: sigCallDelivered(void)
    : sigState()
{
    return;
}

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

void sigCallDelivered :: sigSETUPconfAct(
    sigSETUPconf *primitive_,
    pfProtocol *protocol_)
{
    sigProtocol *protocol = protocolCast(protocol_);
    protocol->connectAct(primitive_);
    protocol->changeToNetworkConnectRequestState();
    protocol->sendSETUPconfToCC(primitive_);
    protocol->sendSETUP_COMPLETEreqToDown();
    return;
}

void sigCallDelivered :: sigAwaitCONNECTtimeoutAct(
    pfProtocol *protocol_)
{
    sigProtocol *protocol = protocolCast(protocol_);
    protocol->sigAwaitCONNECTtimeoutAct();
    return;
}
