/[resiprocate]/branches/b-identity-0505/KeepAliveMessage.cxx
ViewVC logotype

Contents of /branches/b-identity-0505/KeepAliveMessage.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4598 - (show annotations) (download)
Wed May 11 22:53:07 2005 UTC (14 years, 6 months ago) by derek
File size: 763 byte(s)
set svn:eol-style to LF
1 #include "resiprocate/KeepAliveMessage.hxx"
2 #include "resiprocate/os/WinLeakCheck.hxx"
3
4 using namespace resip;
5
6 KeepAliveMessage::KeepAliveMessage()
7 {
8 }
9
10 KeepAliveMessage::KeepAliveMessage(const KeepAliveMessage& message)
11 : SipMessage(message)
12 {
13 header(h_RequestLine).method() = OPTIONS;
14 Via via;
15 header(h_Vias).push_back(via);
16 }
17
18 KeepAliveMessage::~KeepAliveMessage()
19 {
20 }
21
22
23 KeepAliveMessage&
24 KeepAliveMessage::operator=(const KeepAliveMessage& rhs)
25 {
26 if (this != &rhs)
27 {
28 SipMessage::operator=(rhs);
29 }
30 return *this;
31 }
32
33 Message*
34 KeepAliveMessage::clone() const
35 {
36 return new KeepAliveMessage(*this);
37 }
38
39 std::ostream&
40 KeepAliveMessage::encode(std::ostream& str) const
41 {
42 str << Symbols::CRLF << Symbols::CRLF;
43 return str;
44 }

Properties

Name Value
svn:eol-style LF
svn:executable *

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27