Changeset 5284 for source/ariba/communication/CommunicationEvents.h
- Timestamp:
- Jul 24, 2009, 3:23:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/CommunicationEvents.h
r3690 r5284 41 41 42 42 #include "ariba/utility/types/LinkID.h" 43 #include "ariba/communication/modules/network/NetworkLocator.h"44 43 #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" 49 45 50 46 namespace ariba { 51 47 namespace communication { 52 48 49 using ariba::utility::LinkID; 50 using ariba::utility::QoSParameterSet; 51 using namespace ariba::addressing; 52 53 53 class CommunicationEvents { 54 55 54 friend class BaseCommunication; 56 55 … … 69 68 * @return True, if the link should be established 70 69 */ 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); 72 72 73 73 /** … … 77 77 * @param id The link id of the established link 78 78 */ 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); 80 81 81 82 /** … … 84 85 * @param id The link identifier of the dropped link 85 86 */ 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); 87 89 88 90 /** … … 94 96 * @param id The link identifier of the changed link 95 97 */ 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 ); 97 102 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); 99 105 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); 101 108 }; 102 109
Note:
See TracChangeset
for help on using the changeset viewer.