//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / SCCP Interface
//
//File: sccpclprimitives.cpp
//
//Version: $Revision: 1.6 $
//
//State: $State: Exp $
//
//Date: $Date: 1997/09/08 13:22:31 $
//
//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 "sccpclprimitives.h"

//----------------------------------------------------------------------

sccpCLprimitives :: sccpCLprimitives(void)
    : pfMessenger()
{
    defineStorage("calledAddress");
    defineStorage("callingAddress");
    defineFrame("userData");
    return;
}

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

void sccpCLprimitives :: setCalledAddress(pfStorage &calledAddress_)
{
    setStorage("calledAddress", calledAddress_);
    return;
}

pfStorage sccpCLprimitives :: getCalledAddress(void) const
{
    pfStorage calledAddress = getStorage("calledAddress");
    return calledAddress;
}

void sccpCLprimitives :: setCallingAddress(pfStorage &callingAddress_)
{
    setStorage("callingAddress", callingAddress_);
    return;
}

pfStorage sccpCLprimitives :: getCallingAddress(void) const
{
    pfStorage callingAddress = getStorage("callingAddress");
    return callingAddress;
}

void sccpCLprimitives :: setUserData(pfFrame &frame_)
{
    setFrame("userData", frame_);
    return;
}

pfFrame sccpCLprimitives :: getUserData(void) const
{
    return getFrame("userData");
}
