reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
DumCommand.hxx
Go to the documentation of this file.
1#if !defined(RESIP_DUMCOMMAND_HXX)
2#define RESIP_DUMCOMMAND_HXX
3
5
6namespace resip
7{
8
10{
11 public:
12 virtual ~DumCommand() {}
13 virtual void executeCommand() = 0;
14};
15
17{
18public:
19 virtual ~DumCommandAdapter() {}
20
21 virtual Message* clone() const
22 {
23 resip_assert(false);
24 return NULL;
25 }
26
27 virtual EncodeStream& encode(EncodeStream& strm) const
28 {
29 return encodeBrief(strm);
30 }
31};
32}
33
34#endif
35
#define resip_assert(x)
This file needs to work for both C and C++ code.
A base-class for messages used by applications.
virtual EncodeStream & encode(EncodeStream &strm) const
output the entire message to stream
virtual Message * clone() const
virtual ~DumCommand()
virtual void executeCommand()=0
The base-class used for message-passing.
Definition Message.hxx:21
virtual EncodeStream & encodeBrief(EncodeStream &str) const =0
output a brief description to stream
dcm! – add UnusedChecking(_enum) below;
#define EncodeStream