//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / TRS
//
//File: routingclient.h
//
//Version: $Revision: 1.1 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/10/06 12:41:21 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Harri Sunila
//
//Description:
//      trsRoutingClient is wrapper class to use the TOVE Route Service.
//      It hides the details of the IDL interface and performs the
//      translation of Transit Network Selection - and Qos IE:s to
//      corresponding interface structures.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 

#ifndef __TRS_ROUTINGCLIENT_H__
#define __TRS_ROUTINGCLIENT_H__

class ieTransitNetworkSelection;
class pfIE;
class ccProtocol;
class trs_RouteServerCallback;

#include <typeinfo>
#include <string>
#include "pf/types.h"

class trsRoutingClient
{
    public:
        trsRoutingClient(ccProtocol *host_);
        trsRoutingClient(const string &prefix_); // For testing without CC
        virtual ~trsRoutingClient(void);

        void selectRoute(const string &calledParty_,
                         ieTransitNetworkSelection *selectedNetworks_,
                         pfIE *qosParameter_,
                         pfUlong numberOfRoutes_ = 1);

    private:
        trs_RouteServerCallback *_callback;
        string _prefix;
};

#endif // __TRS_ROUTINGCLIENT_H__


