//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / gsmpswitch
//
//File: gsmpswitchidlestate.cpp
//
//Version: $Revision: 1.1 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/08/03 11:40:43 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//
//Description:
//
//
//Copyright:
//
//
//Licence:
//
//
//History: 


#include "gsmpswitchidlestate.h"
//#include "protocol/gsmp/gsmpconnectionmanagementmessages.h"
//#include "protocol/gsmp/gsmpportmanagementmessages.h"
//#include "protocol/gsmp/gsmpconfigurationmessages.h"
//#include "protocol/gsmp/gsmpstatisticsmessages.h"
//#include "protocol/gsmp/gsmpeventmessages.h"
//#include "protocol/gsmp/gsmptimeouts.h"

gsmpSwitchIdleState *gsmpSwitchIdleState::_only = 0;

gsmpSwitchIdleState :: gsmpSwitchIdleState(void)
{
    return;
}

gsmpSwitchIdleState :: ~gsmpSwitchIdleState(void)
{
    _only = 0;
    return;
}

gsmpSwitchIdleState *gsmpSwitchIdleState :: instance(void)
    throw (pfMemoryAllocationException)
{
    if (_only == 0)
    {
        _only = new gsmpSwitchIdleState;
    }
    if (_only == 0)
    {
        throw pfMemoryAllocationException(PF_EX_INFO,
                                          sizeof(gsmpSwitchIdleState));
    }
    return _only;
}



