1
#if !defined(TFM_CheckFetchedContacts_hxx)
2
#define TFM_CheckFetchedContacts_hxx
5
#include "resip/stack/NameAddr.hxx"
6
#include "tfm/ExpectAction.hxx"
9
class CheckFetchedContacts : public ExpectAction
12
CheckFetchedContacts(std::set<resip::NameAddr> contacts);
13
bool compareContacts(const resip::NameAddr & s1, const resip::NameAddr & s2);
15
using ExpectAction::operator();
16
virtual void operator()(boost::shared_ptr<Event> event);
18
std::set<resip::NameAddr> _contacts;
23
Copyright (c) 2005, PurpleComm, Inc.
26
Redistribution and use in source and binary forms, with or without modification,
27
are permitted provided that the following conditions are met:
29
* Redistributions of source code must retain the above copyright notice, this
30
list of conditions and the following disclaimer.
31
* Redistributions in binary form must reproduce the above copyright notice,
32
this list of conditions and the following disclaimer in the documentation
33
and/or other materials provided with the distribution.
34
* Neither the name of PurpleComm, Inc. nor the names of its contributors may
35
be used to endorse or promote products derived from this software without
36
specific prior written permission.
38
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
39
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
41
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
42
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
43
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
44
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
45
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
46
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
47
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.