//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: unistate_n4.cpp
//
//Version: $Revision: 1.3 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/12/14 06:56:33 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Jari Katajavuori
//
//Description:
//      State Call Delivered (N4) (Q.2931 only)
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#include "unistate_n4.h"

#include "iface/sigif/sigdownprimitives.h"

#include "uniprotocol.h"

uniNetworkCallDelivered *
uniNetworkCallDelivered :: _only = 0;

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

uniNetworkCallDelivered :: uniNetworkCallDelivered(void)
    : uniNetworkState()
{
    return;
}

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

void uniNetworkCallDelivered :: sigSETUPrespAct(
    sigSETUPresp *message_,
    pfProtocol *protocol_)
{
    uniProtocol *protocol = dynamic_cast<uniProtocol *>(protocol_);
    protocol->sendCONNECTpduToCoOrd(message_);
    protocol->changeToActiveState();
    return;
};

