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

Diff of /main/resip/dum/Profile.hxx

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

revision 6191 by cisco, Tue May 2 23:01:59 2006 UTC revision 6507 by sgodin, Tue Aug 15 17:01:21 2006 UTC
# Line 37  Line 37 
37        /// it's creation time default.  Note:  Defaults are described below.        /// it's creation time default.  Note:  Defaults are described below.
38    
39        /// This default is used if no value is passed in when creating a registration        /// This default is used if no value is passed in when creating a registration
40        virtual void setDefaultRegistrationTime(int secs);        virtual void setDefaultRegistrationTime(UInt32 secs);
41        virtual int getDefaultRegistrationTime() const;        virtual UInt32 getDefaultRegistrationTime() const;
42        virtual void unsetDefaultRegistrationTime();          virtual void unsetDefaultRegistrationTime();  
43    
44        /// If a registration gets rejected with a 423, then we with the MinExpires value - if it is less than this        /// If a registration gets rejected with a 423, then we with the MinExpires value - if it is less than this
45        /// Set to 0 to disable this check and accept any time suggested by the server.        /// Set to 0 to disable this check and accept any time suggested by the server.
46        virtual void setDefaultMaxRegistrationTime(int secs);        virtual void setDefaultMaxRegistrationTime(UInt32 secs);
47        virtual int getDefaultMaxRegistrationTime() const;        virtual UInt32 getDefaultMaxRegistrationTime() const;
48        virtual void unsetDefaultMaxRegistrationTime();          virtual void unsetDefaultMaxRegistrationTime();  
49    
50        /// The time to retry registrations on error responses (if Retry-After header is not present in error)        /// The time to retry registrations on error responses (if Retry-After header is not present in error)
# Line 55  Line 55 
55        virtual void unsetDefaultRegistrationRetryTime();          virtual void unsetDefaultRegistrationRetryTime();  
56    
57        /// This default is used if no value is passed in when creating a subscription        /// This default is used if no value is passed in when creating a subscription
58        virtual void setDefaultSubscriptionTime(int secs);        virtual void setDefaultSubscriptionTime(UInt32 secs);
59        virtual int getDefaultSubscriptionTime() const;        virtual UInt32 getDefaultSubscriptionTime() const;
60        virtual void unsetDefaultSubscriptionTime();          virtual void unsetDefaultSubscriptionTime();  
61    
62        /// This default is used if no value is passed in when creating a publication        /// This default is used if no value is passed in when creating a publication
63        virtual void setDefaultPublicationTime(int secs);        virtual void setDefaultPublicationTime(UInt32 secs);
64        virtual int getDefaultPublicationTime() const;        virtual UInt32 getDefaultPublicationTime() const;
65        virtual void unsetDefaultPublicationTime();          virtual void unsetDefaultPublicationTime();  
66    
67        /// Call is stale if UAC gets no final response within the stale call timeout (default 3 minutes)        /// Call is stale if UAC gets no final response within the stale call timeout (default 3 minutes)
# Line 71  Line 71 
71    
72        /// Only used if timer option tag is set in MasterProfile.        /// Only used if timer option tag is set in MasterProfile.
73        /// Note:  Value must be higher than 90 (as specified in RFC 4028)        /// Note:  Value must be higher than 90 (as specified in RFC 4028)
74        virtual void setDefaultSessionTime(int secs);        virtual void setDefaultSessionTime(UInt32 secs);
75        virtual int getDefaultSessionTime() const;        virtual UInt32 getDefaultSessionTime() const;
76        virtual void unsetDefaultSessionTime();        virtual void unsetDefaultSessionTime();
77    
78        /// Only used if timer option tag is set in MasterProfile.        /// Only used if timer option tag is set in MasterProfile.
# Line 196  Line 196 
196    
197     private:     private:
198        bool mHasDefaultRegistrationExpires;        bool mHasDefaultRegistrationExpires;
199        int mDefaultRegistrationExpires;        UInt32 mDefaultRegistrationExpires;
200                
201        bool mHasDefaultMaxRegistrationExpires;        bool mHasDefaultMaxRegistrationExpires;
202        int mDefaultMaxRegistrationExpires;        UInt32 mDefaultMaxRegistrationExpires;
203    
204        bool mHasDefaultRegistrationRetryInterval;        bool mHasDefaultRegistrationRetryInterval;
205        int  mDefaultRegistrationRetryInterval;        int  mDefaultRegistrationRetryInterval;
206    
207        bool mHasDefaultSubscriptionExpires;        bool mHasDefaultSubscriptionExpires;
208        int mDefaultSubscriptionExpires;        UInt32 mDefaultSubscriptionExpires;
209    
210        bool mHasDefaultPublicationExpires;        bool mHasDefaultPublicationExpires;
211        int mDefaultPublicationExpires;        UInt32 mDefaultPublicationExpires;
212    
213        bool mHasDefaultStaleCallTime;        bool mHasDefaultStaleCallTime;
214        int mDefaultStaleCallTime;        int mDefaultStaleCallTime;
215    
216        bool mHasDefaultSessionExpires;        bool mHasDefaultSessionExpires;
217        int mDefaultSessionExpires;        UInt32 mDefaultSessionExpires;
218    
219        bool mHasDefaultSessionTimerMode;        bool mHasDefaultSessionTimerMode;
220        SessionTimerMode mDefaultSessionTimerMode;        SessionTimerMode mDefaultSessionTimerMode;

Legend:
Removed from v.6191  
changed lines
  Added in v.6507

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27