reSIProcate/DialogUsageManager  9694
Public Member Functions
resip::TestClientRegistrationHandler Class Reference

#include <TestDumHandlers.hxx>

Inheritance diagram for resip::TestClientRegistrationHandler:
Inheritance graph
[legend]
Collaboration diagram for resip::TestClientRegistrationHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestClientRegistrationHandler ()
virtual ~TestClientRegistrationHandler ()
virtual void onSuccess (ClientRegistrationHandle, const SipMessage &response)
 Called when registraion succeeds or each time it is sucessfully refreshed.
virtual void onRemoved (ClientRegistrationHandle, const SipMessage &)
virtual void onFailure (ClientRegistrationHandle, const SipMessage &response)
 Called if registration fails, usage will be destroyed (unless a Registration retry interval is enabled in the Profile)
virtual int onRequestRetry (ClientRegistrationHandle, int retrySeconds, const SipMessage &response)
 call on Retry-After failure.

Detailed Description

Definition at line 16 of file TestDumHandlers.hxx.


Constructor & Destructor Documentation

resip::TestClientRegistrationHandler::TestClientRegistrationHandler ( ) [inline]

Definition at line 19 of file TestDumHandlers.hxx.

      {
      }
virtual resip::TestClientRegistrationHandler::~TestClientRegistrationHandler ( ) [inline, virtual]

Definition at line 23 of file TestDumHandlers.hxx.

      {
      }

Member Function Documentation

virtual void resip::TestClientRegistrationHandler::onFailure ( ClientRegistrationHandle  ,
const SipMessage response 
) [inline, virtual]

Called if registration fails, usage will be destroyed (unless a Registration retry interval is enabled in the Profile)

Implements resip::ClientRegistrationHandler.

Definition at line 39 of file TestDumHandlers.hxx.

References InfoLog.

      {
         InfoLog( << "TestClientRegistrationHandler::onFailure" );
         exit(-1);
      }
virtual void resip::TestClientRegistrationHandler::onRemoved ( ClientRegistrationHandle  ,
const SipMessage  
) [inline, virtual]

Implements resip::ClientRegistrationHandler.

Definition at line 33 of file TestDumHandlers.hxx.

References InfoLog.

      {
         InfoLog( << "TestClientRegistrationHander::onRemoved" );
         exit(-1);
      }
virtual int resip::TestClientRegistrationHandler::onRequestRetry ( ClientRegistrationHandle  ,
int  retrySeconds,
const SipMessage response 
) [inline, virtual]

call on Retry-After failure.

return values: -1 = fail, 0 = retry immediately, N = retry in N seconds

Implements resip::ClientRegistrationHandler.

Definition at line 46 of file TestDumHandlers.hxx.

References InfoLog.

      {
         InfoLog( << "TestClientRegistrationHandler::onRequestRetry" );
         exit(-1);
         return -1;
      }
virtual void resip::TestClientRegistrationHandler::onSuccess ( ClientRegistrationHandle  ,
const SipMessage response 
) [inline, virtual]

Called when registraion succeeds or each time it is sucessfully refreshed.

Implements resip::ClientRegistrationHandler.

Reimplemented in TestSMIMEInviteHandler.

Definition at line 27 of file TestDumHandlers.hxx.

References InfoLog.

      {
         InfoLog( << "TestClientRegistrationHandler::onSuccess" );
      }

The documentation for this class was generated from the following file: