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

Location:
source/ariba/utility/transport
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/transport/rfcomm/rfcomm.cpp

    r5524 r5614  
    182182}
    183183
    184 void rfcomm::terminate(const address_v* local, const address_v* remote) {
     184void rfcomm::terminate( const address_v* remote) {
    185185        // get end-point
    186186        rfcomm_endpoint endpoint = *remote;
  • source/ariba/utility/transport/rfcomm/rfcomm.hpp

    r5406 r5614  
    3636        virtual void send( const address_v* remote, const uint8_t* data, size_t size );
    3737        virtual void send( const endpoint_set& endpoints, const uint8_t* data, size_t size );
    38         virtual void terminate( const address_v* local, const address_v* remote );
     38        virtual void terminate( const address_v* remote );
    3939        virtual void register_listener( transport_listener* listener );
    4040
  • source/ariba/utility/transport/tcpip/tcpip.cpp

    r5444 r5614  
    135135}
    136136
    137 void tcpip::terminate(const address_v* local, const address_v* remote) {
     137void tcpip::terminate( const address_v* remote) {
    138138        tcpip_endpoint endpoint = *remote;
    139139        appladdress peer = convert(endpoint);
  • source/ariba/utility/transport/tcpip/tcpip.hpp

    r5284 r5614  
    3131        virtual void send( const address_v* remote, const uint8_t* data, size_t size );
    3232        virtual void send( const endpoint_set& endpoints, const uint8_t* data, size_t size );
    33         virtual void terminate( const address_v* local, const address_v* remote );
     33        virtual void terminate( const address_v* remote );
    3434        virtual void register_listener( transport_listener* listener );
    3535
  • source/ariba/utility/transport/transport_peer.cpp

    r5284 r5614  
    5656}
    5757
    58 void transport_peer::terminate( const address_v* local, const address_v* remote ) {
     58void transport_peer::terminate( const address_v* remote ) {
    5959        if (remote->instanceof<tcpip_endpoint>() && tcp!=NULL)
    60                 tcp->terminate(local,remote);
     60                tcp->terminate(remote);
    6161        if (remote->instanceof<rfcomm_endpoint>() && rfc!=NULL)
    62                 rfc->terminate(local,remote);
     62                rfc->terminate(remote);
    6363}
    6464
  • source/ariba/utility/transport/transport_peer.hpp

    r5284 r5614  
    2929        virtual void send( const address_v* remote, const uint8_t* data, size_t size );
    3030        virtual void send( const endpoint_set& endpoints, const uint8_t* data, size_t size );
    31         virtual void terminate( const address_v* local, const address_v* remote );
     31        virtual void terminate( const address_v* remote );
    3232        virtual void register_listener( transport_listener* listener );
    3333
  • source/ariba/utility/transport/transport_protocol.hpp

    r5284 r5614  
    2222        virtual void send( const address_v* remote, const uint8_t* data, size_t size ) = 0;
    2323        virtual void send( const endpoint_set& endpoints, const uint8_t* data, size_t size ) = 0;
    24         virtual void terminate( const address_v* local, const address_v* remote ) = 0;
     24        virtual void terminate( const address_v* remote ) = 0;
    2525        virtual void register_listener( transport_listener* listener ) = 0;
    2626};
Note: See TracChangeset for help on using the changeset viewer.