//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: gsmpinternalmessages.cpp
//
//Version: $Revision: 1.4 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/12/16 16:57:24 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Harri Sunila
//
//Description:
//      See corresponding headerfile.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#include "gsmpinternalmessages.h"
#include "gsmpstate.h"
#include "pf/error.h"

//
// Function: gsmpLinkEstablished
//
// Description:  
//

gsmpLinkEstablished :: gsmpLinkEstablished(void)
    : gsmpMessage()
{
    return;
}

//
// Function: gsmpLinkEstablished
//
// Description:  
//

gsmpLinkEstablished :: gsmpLinkEstablished(const gsmpLinkEstablished &other_)
    : gsmpMessage(other_)
{
    return;
}

//
// Function: ~gsmpLinkEstablished
//
// Description:  
//

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

//
// Function: clone
//
// Description:  
//

gsmpLinkEstablished *gsmpLinkEstablished :: clone(void)
{
    gsmpLinkEstablished *message = new gsmpLinkEstablished(*this);
    return message;
}

//
// Function: apply
//
// Description:  
//

void gsmpLinkEstablished :: apply(pfState *state_,
                                  pfProtocol *const protocol_)
{
    gsmpState *state = dynamic_cast<gsmpState *>(state_);
    THROW_IF_DYNAMIC_CAST_FAILED(state);
    state->gsmpLinkEstablishedAct(this, protocol_);
    return;
}

//
// Function: decodeFrame
//
// Description:  
//

void gsmpLinkEstablished :: decodeFrame(pfFrame &frame_)
{
    return;
}

//
// Function: encodeFrame
//
// Description:  
//

pfFrame gsmpLinkEstablished :: encodeFrame(void)
{
    return _frame;
}

//
// Function: gsmpLinkNotEstablished
//
// Description:  
//

gsmpLinkNotEstablished :: gsmpLinkNotEstablished(void)
    : gsmpMessage()
{
    return;
}

//
// Function: gsmpLinkNotEstablished
//
// Description:  
//

gsmpLinkNotEstablished :: gsmpLinkNotEstablished(
    const gsmpLinkNotEstablished &other_)
    : gsmpMessage(other_)
{
    return;
}

//
// Function: ~gsmpLinkNotEstablished
//
// Description:  
//

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

//
// Function: clone
//
// Description:  
//

gsmpLinkNotEstablished *gsmpLinkNotEstablished :: clone(void)
{
    gsmpLinkNotEstablished *message = new gsmpLinkNotEstablished(*this);
    return message;
}

//
// Function: apply
//
// Description:  
//

void gsmpLinkNotEstablished :: apply(pfState *state_,
                                     pfProtocol *protocol_)
{
    gsmpState *state = dynamic_cast<gsmpState *>(state_);
    THROW_IF_DYNAMIC_CAST_FAILED(state);
    state->gsmpLinkNotEstablishedAct(this, protocol_);
    return;
}

//
// Function: decodeFrame
//
// Description:  
//

void gsmpLinkNotEstablished :: decodeFrame(pfFrame &frame_)
{
    return;
}

//
// Function: encodeFrame
//
// Description:  
//

pfFrame gsmpLinkNotEstablished :: encodeFrame(void)
{
    return _frame;
}
