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

#include "sccpprotocol.h"
#include "sccpcolleague.h"

sccpColleague :: sccpColleague(sccpProtocol *protocol_,
                               ss7Configure &configure_)
    : pfProtocol(),
      _protocol(protocol_),
      _configure(configure_)
{
    return;
}

sccpColleague :: ~sccpColleague(void)
{
    return;
}
        
void sccpColleague :: accept(pfMessenger *messenger_)
{
    messenger_->apply(getState(), this);
    return;
}
    
//
//Functions: toMTP and toSubSystem
//
//Description:
//    Default action for methods to direct messages to
//    neighboring levels. Note that these are asynchronous!

void sccpColleague :: toMTP(pfMessenger *)
{
    assert(0);
    return;
}

void sccpColleague :: toSubSystem(pfMessenger *)
{
    assert(0);
    return;
}

//
//Functions: to[Block]
//
//Description:
//    Default action for methods to direct messages to
//    SCCP procedures (blocks).

void sccpColleague :: toSCRC(pfMessenger *)
{
    assert(0);
    return;
}

void sccpColleague :: toSCLC(pfMessenger *)
{
    assert(0);
    return;
}
