com.google.api.ads.dfa.lib.client
Class DfaServiceClient

java.lang.Object
  extended by com.google.api.ads.common.lib.soap.SoapServiceClient<Object>
      extended by com.google.api.ads.common.lib.client.AdsServiceClient<DfaSession,DfaServiceDescriptor>
          extended by com.google.api.ads.dfa.lib.client.DfaServiceClient
All Implemented Interfaces:
InvocationHandler

public class DfaServiceClient
extends AdsServiceClient<DfaSession,DfaServiceDescriptor>

Wrapper of underlying SOAP client which allows access for setting headers retrieved from the session.

Author:
Adam Rogal, Joseph DiLallo

Constructor Summary
DfaServiceClient(Object soapClient, DfaServiceDescriptor dfaServiceDescriptor, DfaSession dfaSession, SoapClientHandlerInterface soapClientHandler, HeaderHandler dfaHeaderHandler, AdsServiceLoggers adsServiceLoggers)
          Constructor.
 
Method Summary
 
Methods inherited from class com.google.api.ads.common.lib.client.AdsServiceClient
getAdsSession, logSoapCall, setAdsSession, setHeaders
 
Methods inherited from class com.google.api.ads.common.lib.soap.SoapServiceClient
callSoapClient, createSoapCall, getSoapClient, getSoapClientHandler, handleException, invoke, setEndpointAddress, unwrapSoapCallReturn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DfaServiceClient

@Inject
public DfaServiceClient(Object soapClient,
                               DfaServiceDescriptor dfaServiceDescriptor,
                               DfaSession dfaSession,
                               SoapClientHandlerInterface soapClientHandler,
                               HeaderHandler dfaHeaderHandler,
                               AdsServiceLoggers adsServiceLoggers)
                 throws ServiceException
Constructor.

Parameters:
soapClient - the SOAP client
dfaServiceDescriptor - the DFA service descriptor
dfaSession - the DFA session
soapClientHandler - the SOAP client handler
dfaHeaderHandler - the DFA header handler
adsServiceLoggers - the ads service loggers
Throws:
ServiceException


Copyright © 2012. All Rights Reserved.