Ignore:
Timestamp:
Jul 24, 2009, 3:23:11 PM (15 years ago)
Author:
mies
Message:

+ added new transport modules and adapted ariba to them
+ exchange endpoint descriptors an link establishment
+ clean up of base communication
+ link establishment with in the presence of multiple endpoints
+ local discovery for ipv6, ipv4 and bluetooth mac addresses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/CommunicationEvents.h

    r3690 r5284  
    4141
    4242#include "ariba/utility/types/LinkID.h"
    43 #include "ariba/communication/modules/network/NetworkLocator.h"
    4443#include "ariba/utility/types/QoSParameterSet.h"
    45 
    46 using ariba::utility::LinkID;
    47 using ariba::utility::QoSParameterSet;
    48 using ariba::communication::NetworkLocator;
     44#include "ariba/utility/addressing/addressing.hpp"
    4945
    5046namespace ariba {
    5147namespace communication {
    5248
     49using ariba::utility::LinkID;
     50using ariba::utility::QoSParameterSet;
     51using namespace ariba::addressing;
     52
    5353class CommunicationEvents {
    54 
    5554        friend class BaseCommunication;
    5655
     
    6968         * @return True, if the link should be established
    7069         */
    71         virtual bool onLinkRequest( const LinkID& id, const NetworkLocator* local, const NetworkLocator* remote );
     70        virtual bool onLinkRequest(const LinkID& id, const address_v* local,
     71                const address_v* remote);
    7272
    7373        /**
     
    7777         * @param id The link id of the established link
    7878         */
    79         virtual void onLinkUp( const LinkID& id, const NetworkLocator* local, const NetworkLocator* remote );
     79        virtual void onLinkUp(const LinkID& id, const address_v* local,
     80                const address_v* remote);
    8081
    8182        /**
     
    8485         * @param id The link identifier of the dropped link
    8586         */
    86         virtual void onLinkDown( const LinkID& id, const NetworkLocator* local, const NetworkLocator* remote );
     87        virtual void onLinkDown(const LinkID& id, const address_v* local,
     88                const address_v* remote);
    8789
    8890        /**
     
    9496         * @param id The link identifier of the changed link
    9597         */
    96         virtual void onLinkChanged( const LinkID& id, const NetworkLocator* oldlocal, const NetworkLocator* newlocal, const NetworkLocator* oldremote, const NetworkLocator* newremote );
     98        virtual void onLinkChanged(const LinkID& id,
     99                const address_v* oldlocal,  const address_v* newlocal,
     100                const address_v* oldremote, const address_v* newremote
     101        );
    97102
    98         virtual void onLinkFail( const LinkID& id, const NetworkLocator* local, const NetworkLocator* remote );
     103        virtual void onLinkFail(const LinkID& id, const address_v* local,
     104                const address_v* remote);
    99105
    100         virtual void onLinkQoSChanged( const LinkID& id, const NetworkLocator* local, const NetworkLocator* remote, const QoSParameterSet& qos );
     106        virtual void onLinkQoSChanged(const LinkID& id, const address_v* local,
     107                const address_v* remote, const QoSParameterSet& qos);
    101108};
    102109
Note: See TracChangeset for help on using the changeset viewer.