/[resiprocate]/main/resip/dum/test/UserAgent.hxx
ViewVC logotype

Diff of /main/resip/dum/test/UserAgent.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7219 by sgodin, Thu Jul 26 14:26:44 2007 UTC revision 7275 by bcampen, Fri Sep 28 19:11:46 2007 UTC
# Line 86  Line 86 
86        virtual void onReceivedRequest(ServerOutOfDialogReqHandle, const SipMessage& request);        virtual void onReceivedRequest(ServerOutOfDialogReqHandle, const SipMessage& request);
87        virtual void onForkDestroyed(ClientInviteSessionHandle);        virtual void onForkDestroyed(ClientInviteSessionHandle);
88    
89          class EndInviteSessionCommand : public DumCommand
90          {
91             public:
92                EndInviteSessionCommand(InviteSessionHandle h) : mHandle(h)
93                {}
94    
95                virtual void executeCommand()
96                {
97                   if(mHandle.isValid() && !mHandle->isTerminated())
98                   {
99                      mHandle->end();
100                   }
101                }
102    
103                virtual Message* clone() const
104                {
105                   return new EndInviteSessionCommand(mHandle);
106                }
107    
108                virtual std::ostream& encode(std::ostream& str) const
109                {
110                   return str << "EndInviteSessionCommand";
111                }
112    
113                virtual std::ostream& encodeBrief(std::ostream& str) const
114                {
115                   return encode(str);
116                }
117            
118             private:
119                InviteSessionHandle mHandle;
120          };
121    
122     protected:     protected:
123        void addTransport(TransportType type, int port);        void addTransport(TransportType type, int port);
124    

Legend:
Removed from v.7219  
changed lines
  Added in v.7275

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27