ConfigRPC_InDomainCallback Class Reference

#include <ConfigRPC.h>

Inheritance diagram for ConfigRPC_InDomainCallback:

ConfigRPC_Callback

List of all members.


Detailed Description

Default Callbacks from ConfigRPC that allow configuration only from within the domain.

This is a default set of callbacks that allow access only to callers in the same domain. and no-ops for the modified and deleted callbacks.

Public Member Functions

 ConfigRPC_InDomainCallback (const UtlString &domain)
 Instantiate this to allow configuration from hosts in the same SIP domain.
virtual
XmlRpcMethod::ExecutionStatus 
accessAllowed (const HttpRequestContext &requestContext, ConfigRPC_Callback::Method method) const
 Access check function.

Protected Attributes

UtlString mAllowedDomain

Private Member Functions

 ConfigRPC_InDomainCallback (const ConfigRPC_InDomainCallback &nocopy)
 no copy constructor
ConfigRPC_InDomainCallbackoperator= (const ConfigRPC_InDomainCallback &noassignment)
 no assignment operator


Constructor & Destructor Documentation

ConfigRPC_InDomainCallback ( const UtlString domain  ) 

Instantiate this to allow configuration from hosts in the same SIP domain.

Parameters:
domain  domain name to allow

ConfigRPC_InDomainCallback ( const ConfigRPC_InDomainCallback nocopy  )  [private]

no copy constructor


Member Function Documentation

XmlRpcMethod::ExecutionStatus accessAllowed ( const HttpRequestContext requestContext,
ConfigRPC_Callback::Method  method 
) const [virtual]

Access check function.

Returns:

Reimplemented from ConfigRPC_Callback.

ConfigRPC_InDomainCallback& operator= ( const ConfigRPC_InDomainCallback noassignment  )  [private]

no assignment operator


Member Data Documentation


Online Library Docs

sipXecs home page

Version 4.2.1-018930 2010-07-31T01:13:23 build16 abuild