Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.Common.Logging.TraceListener Class Referenceabstract

Listens to SOAP messages sent and received by this library. More...

Inheritance diagram for Google.Api.Ads.Common.Logging.TraceListener:
Google.Api.Ads.Common.Logging.SoapListener Google.Api.Ads.Common.Lib.Configurable Google.Api.Ads.AdManager.Lib.AdManagerTraceListener

Public Member Functions

void InitForCall ()
 Initializes the listener for handling an API call. More...
 
virtual void HandleMessage (RequestInfo requestInfo, ResponseInfo responseInfo)
 Handles the SOAP message. More...
 
void CleanupAfterCall ()
 Cleans up any resources after an API call. More...
 

Protected Member Functions

 TraceListener (AppConfig config)
 Protected constructor. More...
 
abstract ISet< string > GetFieldsToMask ()
 Gets a list of fields to be masked in xml logs. More...
 
virtual void PopulateRequestInfo (ref RequestInfo info)
 Parses the body of the request and populates fields in the request info. More...
 
virtual void PopulateResponseInfo (ref ResponseInfo info)
 Parses the body of the response and populates fields in the repsonse info. More...
 

Properties

DateTimeProvider DateTimeProvider [get, set]
 Gets or sets the date and time provider. More...
 
AppConfig Config [get]
 Gets the config class to be used with this class. More...
 
- Properties inherited from Google.Api.Ads.Common.Lib.Configurable
AppConfig Config [get]
 Gets the application configuration class for this object. More...
 

Detailed Description

Listens to SOAP messages sent and received by this library.

Constructor & Destructor Documentation

Google.Api.Ads.Common.Logging.TraceListener.TraceListener ( AppConfig  config)
inlineprotected

Protected constructor.

Parameters
configThe config class.

Member Function Documentation

void Google.Api.Ads.Common.Logging.TraceListener.CleanupAfterCall ( )
inline

Cleans up any resources after an API call.

Implements Google.Api.Ads.Common.Logging.SoapListener.

abstract ISet<string> Google.Api.Ads.Common.Logging.TraceListener.GetFieldsToMask ( )
protectedpure virtual

Gets a list of fields to be masked in xml logs.

Returns
The list of fields to be masked.

Implemented in Google.Api.Ads.AdManager.Lib.AdManagerTraceListener.

virtual void Google.Api.Ads.Common.Logging.TraceListener.HandleMessage ( RequestInfo  requestInfo,
ResponseInfo  responseInfo 
)
inlinevirtual

Handles the SOAP message.

Parameters
requestInfoRequest info.
responseInfoResponse info.

Implements Google.Api.Ads.Common.Logging.SoapListener.

void Google.Api.Ads.Common.Logging.TraceListener.InitForCall ( )
inline

Initializes the listener for handling an API call.

Implements Google.Api.Ads.Common.Logging.SoapListener.

virtual void Google.Api.Ads.Common.Logging.TraceListener.PopulateRequestInfo ( ref RequestInfo  info)
inlineprotectedvirtual

Parses the body of the request and populates fields in the request info.

Parameters
infoThe request info for this SOAP call.

Reimplemented in Google.Api.Ads.AdManager.Lib.AdManagerTraceListener.

virtual void Google.Api.Ads.Common.Logging.TraceListener.PopulateResponseInfo ( ref ResponseInfo  info)
inlineprotectedvirtual

Parses the body of the response and populates fields in the repsonse info.

Parameters
infoThe response info for this SOAP call.

Property Documentation

AppConfig Google.Api.Ads.Common.Logging.TraceListener.Config
get

Gets the config class to be used with this class.

DateTimeProvider Google.Api.Ads.Common.Logging.TraceListener.DateTimeProvider
getset

Gets or sets the date and time provider.


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