1
#if !defined(TestClientPublication_hxx)
2
#define TestClientPublication_hxx
4
#include "TestUsage.hxx"
5
#include "resip/dum/Handles.hxx"
6
#include "tfm/EndPoint.hxx"
7
#include "ClientPublicationEvent.hxx"
14
class TestClientPublication : public TestUsage
17
TestClientPublication(DumUserAgent*);
18
virtual ~TestClientPublication();
20
resip::Data getName() const { return "TestClientPublication"; }
22
CommonAction* refresh(unsigned int expiration=0);
23
CommonAction* update(const resip::Contents* body);
26
bool isMyEvent(Event*);
28
resip::ClientPublicationHandle getHandle() const { return mHandle; }
30
ExpectBase* expect(ClientPublicationEvent::Type,
31
MessageMatcher* matcher,
33
ActionBase* expectAction);
35
ExpectBase* expect(ClientPublicationEvent::Type,
38
ActionBase* expectAction);
40
ExpectBase* expect(ClientPublicationEvent::Type,
41
MessageMatcher* matcher,
44
ActionBase* expectAction);
47
friend class DumUserAgent;
48
resip::ClientPublicationHandle& getHandleRef() { return mHandle; }
49
resip::ClientPublicationHandle mHandle;