bool IceBT::EndpointI::equivalent(const IceInternal::EndpointIPtr& endpoint) const { const EndpointI* btEndpointI = dynamic_cast<const EndpointI*>(endpoint.get()); if(!btEndpointI) { return false; } return btEndpointI->type() == type() && btEndpointI->_addr == _addr && btEndpointI->_uuid == _uuid; }
bool IceSSL::EndpointI::equivalent(const IceInternal::EndpointIPtr& endpoint) const { const EndpointI* endpointI = dynamic_cast<const EndpointI*>(endpoint.get()); if(!endpointI) { return false; } return _delegate->equivalent(endpointI->_delegate); }