/[resiprocate]/main/resip/dum/DumCommand.hxx
ViewVC logotype

Contents of /main/resip/dum/DumCommand.hxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8161 - (show annotations) (download)
Fri Jul 25 20:54:42 2008 UTC (11 years, 3 months ago) by jmatthewsr
File MIME type: text/plain
File size: 554 byte(s)
Stream performance enhancements for encoding objects.  New encoding code should use 'EncodeStream','resipCerr' and 'resipCout' for encoding any resip objects.  Merge from b-jmatthewsr-streamperf2 -r 8137:8160.  
1 #if !defined(RESIP_DUMCOMMAND_HXX)
2 #define RESIP_DUMCOMMAND_HXX
3
4 #include "resip/stack/ApplicationMessage.hxx"
5
6 namespace resip
7 {
8
9 class DumCommand : public ApplicationMessage
10 {
11 public:
12 virtual ~DumCommand() {}
13 virtual void executeCommand() = 0;
14 };
15
16 class DumCommandAdapter : public DumCommand
17 {
18 public:
19 virtual ~DumCommandAdapter() {}
20
21 virtual Message* clone() const
22 {
23 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

Properties

Name Value
svn:eol-style native
svn:mime-type text/plain

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27