//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / ILMI protocol
//
//File: ilmiarstate_null.cpp
//
//Version: $Revision: 1.2 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/07/08 13:40:04 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Timo Pärnänen
//
//Description:
//      See corresponding header file.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History:

#include "pf/debug.h"
#include "ilmiarstate_null.h"

// Implementation of the singleton pattern

ilmiARState_Null *ilmiARState_Null::_only = 0;

ilmiARState_Null *ilmiARState_Null :: instance(void)
{
    if (_only == 0)
    {
        _only = new ilmiARState_Null;
    }
    return _only;
}

ilmiARState_Null :: ilmiARState_Null(void)
{
    return;
}

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

// Inputs from network
void ilmiARState_Null :: receiveColdStartTrap(
    ilmiAddressRegistration *protocol_,
    VarBindList &list_)
{
    debugUser("ilmiARState_Null::receiveColdStartTrap");
    // Do nothing in Null State
    return;
}
