//Editor-Info: -*- C++ -*-
//
//Subject: TOVE-project / SCCP protocol
//
//File: sccpblock_sclc.cpp
//
//Version: $Revision: 1.3 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/02/04 19:06:25 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications and Multimedia
//
//Author:
//      Timo Pärnänen
//
//Description:
//      See corresponding header file.
//
//Copyright:
//
//
//Licence:
//
//
//History:

#include "sccpprotocol.h"
#include "sccpstate_sclc_idle.h"
#include "sccppdus.h"
#include "sccpblock_sclc.h"

sccpBlockSCLC :: sccpBlockSCLC(sccpProtocol *protocol_,
                               ss7Configure &configure_)
    : sccpColleague(protocol_,configure_)
{
    // Increment block's reference counter, because there is no proxy
    // to block in main function
    incRefCount();
    changeState(sccp_SCLC_Idle::instance());
    return;
}

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

void sccpBlockSCLC :: toSubSystem(pfMessenger *messenger_)
{
    _protocol->toSubSystem(messenger_);
    return;
}

void sccpBlockSCLC :: toSCRC(pfMessenger *messenger_)
{
    _protocol->toSCRC(messenger_);
    return;
}

void sccpBlockSCLC :: assignSLS(sccpPdu *pdu_)
{
    pfUlong SLS = 0; // SLS is not supported in this version
    pdu_->setInteger("signallingLinkSelection", SLS);
    return;
}
