Ignore:
Timestamp:
Aug 3, 2009, 11:35:20 AM (15 years ago)
Author:
mies
Message:

added termination of transports when no link is up anymore to an end-point

File:
1 edited

Legend:

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

    r5485 r5614  
    288288        NetworkChangeDetection networkMonitor;
    289289#endif
     290        /// list of all remote addresses of links to end-points
     291        class endpoint_reference {
     292        public:
     293                int count; ///< the number of open links to this end-point
     294                const address_v* endpoint; ///< the end-point itself
     295        };
     296        vector<endpoint_reference> remote_endpoints;
     297
     298        /// adds an end-point to the list
     299        void add_endpoint( const address_v* endpoint );
     300
     301        /// removes an end-point from the list
     302        void remove_endpoint( const address_v* endpoint );
    290303
    291304        /// event listener
     
    306319        void send( Message* message, const LinkDescriptor& descriptor );
    307320
     321
     322
    308323        /// state of the base communication
    309324        bool started;
Note: See TracChangeset for help on using the changeset viewer.