//Editor-Info: -*- C++ -*-
//
//Subject: TOVE-project / MTP3 protocol
//
//File: mtp3block_hmdc.h
//
//Version: $Revision: 1.10 $
//
//Date: $Date: 1998/10/19 18:14:33 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications and Multimedia
//
//Author:
//      Petteri Koponen
//      Timo Pärnänen
//
//Description:
//      This file contains definition of MTP3's message discrimination (HMDC)
//      functional block. Functional blocks are "miniprotocols" inside the
//      MTP3 entity.
//
//Copyright:
//
//
//Licence:
//
//
//History:

#ifndef __MTP3_BLOCK_HMDC_H__
#define __MTP3_BLOCK_HMDC_H__

#include "pf/types.h"
#include "mtp3colleague.h"

class pfFrame;

//
//Class: mtp3BlockHMDC
//
//Description:
//      The message discrimination function decides if the RECEIVED MESSAGE
//      primitive from the NNI-SSCF should be handled locally or routed.
//

class mtp3BlockHMDC : public mtp3Colleague
{
    public:
        mtp3BlockHMDC(mtp3Protocol *protocol_, ss7Configure &configure_);
        virtual ~mtp3BlockHMDC(void);
        
        virtual void toHMDT(pfMessenger *messenger_);
        virtual void toHMRT(pfMessenger *messenger_);
        
        bool destinatedToThisSP(pfFrame &messageUnit_);
};

#endif // __MTP3_BLOCK_HMDC_H__
