jetbrains.buildServer.xmlrpc
Class AbstractXmlRpcTarget

java.lang.Object
  extended by jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget
All Implemented Interfaces:
XmlRpcTarget
Direct Known Subclasses:
CommonsXmlRpcTargetImpl, XmlRpcTargetImpl

public abstract class AbstractXmlRpcTarget
extends java.lang.Object
implements XmlRpcTarget

Author:
Pavel.Sher Date: 18.01.2007

Nested Class Summary
 
Nested classes/interfaces inherited from interface jetbrains.buildServer.xmlrpc.XmlRpcTarget
XmlRpcTarget.Cancelable, XmlRpcTarget.ProcessCanceledException
 
Field Summary
 
Fields inherited from interface jetbrains.buildServer.xmlrpc.XmlRpcTarget
EMPTY_PARAMETERS
 
Constructor Summary
protected AbstractXmlRpcTarget(java.lang.String serverUrl, java.lang.String userAgent)
           
 
Method Summary
 java.lang.Object call(java.lang.String method, java.lang.Object[] parameters)
           
 java.lang.Object call(java.lang.String method, java.lang.Object[] parameters, XmlRpcTarget.Cancelable cancelable)
           
protected  void callWithCancelable(java.lang.String method, java.lang.Object[] parameters, java.lang.Object[] result, XmlRpcTarget.Cancelable cancelable)
           
 java.lang.String describeMe()
           
 void disposeConnections()
          this method must be called to dispose possible pending keep-alive connections
 boolean equals(java.lang.Object o)
           
abstract  org.apache.xmlrpc.XmlRpcClient getClient()
           
 java.lang.String getServerURL()
           
 java.lang.String getUserAgent()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractXmlRpcTarget

protected AbstractXmlRpcTarget(java.lang.String serverUrl,
                               java.lang.String userAgent)
Method Detail

getServerURL

public java.lang.String getServerURL()
Specified by:
getServerURL in interface XmlRpcTarget

getUserAgent

public java.lang.String getUserAgent()
Specified by:
getUserAgent in interface XmlRpcTarget

getClient

public abstract org.apache.xmlrpc.XmlRpcClient getClient()

disposeConnections

public void disposeConnections()
Description copied from interface: XmlRpcTarget
this method must be called to dispose possible pending keep-alive connections

Specified by:
disposeConnections in interface XmlRpcTarget

call

public java.lang.Object call(java.lang.String method,
                             java.lang.Object[] parameters,
                             XmlRpcTarget.Cancelable cancelable)
                      throws RemoteCallException,
                             XmlRpcTarget.ProcessCanceledException
Specified by:
call in interface XmlRpcTarget
Throws:
RemoteCallException
XmlRpcTarget.ProcessCanceledException

call

public java.lang.Object call(java.lang.String method,
                             java.lang.Object[] parameters)
                      throws RemoteCallException
Specified by:
call in interface XmlRpcTarget
Throws:
RemoteCallException

describeMe

public java.lang.String describeMe()
Specified by:
describeMe in interface XmlRpcTarget

callWithCancelable

protected void callWithCancelable(java.lang.String method,
                                  java.lang.Object[] parameters,
                                  java.lang.Object[] result,
                                  XmlRpcTarget.Cancelable cancelable)
                           throws XmlRpcTarget.ProcessCanceledException
Throws:
XmlRpcTarget.ProcessCanceledException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object