com.google.api.ads.common.lib.soap
Class SoapCall<T>

java.lang.Object
  extended by com.google.api.ads.common.lib.soap.SoapCall<T>
Type Parameters:
T - the SOAP client type

public class SoapCall<T>
extends Object

Represents a single call to the SOAP client.

Author:
Adam Rogal

Constructor Summary
SoapCall(Method soapClientMethod, T soapClient, Object[] soapArgs)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 Object[] getSoapArgs()
          Returns the arguments that will be passed into the SOAP call.
 T getSoapClient()
          Returns the underlying SOAP client that call will be made on.
 Method getSoapClientMethod()
          Returns the method to invoke on the underlying SOAP client.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapCall

public SoapCall(Method soapClientMethod,
                T soapClient,
                Object[] soapArgs)
Constructor.

Parameters:
soapClientMethod - the SOAP client method to invoke on the underlying SOAP client.
soapClient - the underlying SOAP client that the call will be made on
soapArgs - the arguments that will be passed into the SOAP call.
Method Detail

getSoapClientMethod

public Method getSoapClientMethod()
Returns the method to invoke on the underlying SOAP client.


getSoapClient

public T getSoapClient()
Returns the underlying SOAP client that call will be made on.


getSoapArgs

public Object[] getSoapArgs()
Returns the arguments that will be passed into the SOAP call.


equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 2012. All Rights Reserved.