Package jetbrains.buildServer.xmlrpc
Class AbstractXmlRpcTarget
- java.lang.Object
-
- jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget
-
- All Implemented Interfaces:
XmlRpcTarget
- Direct Known Subclasses:
CommonsXmlRpcTargetImpl
public abstract class AbstractXmlRpcTarget extends 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, XmlRpcTarget.XmlRpcCredentialsProvider
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.xmlrpc.XmlRpcTarget
EMPTY_PARAMETERS
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractXmlRpcTarget(String serverUrl, String userAgent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Objectcall(String method, Object[] parameters)Objectcall(String method, Object[] parameters, XmlRpcTarget.Cancelable cancelable)protected voidcallWithCancelable(String method, Object[] parameters, Object[] result, XmlRpcTarget.Cancelable cancelable)StringdescribeMe()voiddispose()Disposes possible pending keep-alive connections and executor threads The difference with XmlRpcTarget.disposeConnections() is that this method fully disposes XmlRpcTarget and it cannot be longer usedvoiddisposeConnections()This method must be called to dispose possible pending keep-alive connectionsbooleanequals(Object o)abstract org.apache.xmlrpc.XmlRpcClientgetClient()StringgetServerURL()StringgetUserAgent()inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.xmlrpc.XmlRpcTarget
setCredentialsProvider, setProxy, setProxyCredentials
-
-
-
-
Method Detail
-
getServerURL
public String getServerURL()
- Specified by:
getServerURLin interfaceXmlRpcTarget
-
getUserAgent
public String getUserAgent()
- Specified by:
getUserAgentin interfaceXmlRpcTarget
-
getClient
public abstract org.apache.xmlrpc.XmlRpcClient getClient()
-
disposeConnections
public void disposeConnections()
Description copied from interface:XmlRpcTargetThis method must be called to dispose possible pending keep-alive connections- Specified by:
disposeConnectionsin interfaceXmlRpcTarget- See Also:
XmlRpcTarget.dispose()
-
dispose
public void dispose()
Description copied from interface:XmlRpcTargetDisposes possible pending keep-alive connections and executor threads The difference with XmlRpcTarget.disposeConnections() is that this method fully disposes XmlRpcTarget and it cannot be longer used- Specified by:
disposein interfaceXmlRpcTarget- See Also:
XmlRpcTarget.disposeConnections()
-
call
public Object call(String method, Object[] parameters, XmlRpcTarget.Cancelable cancelable) throws RemoteCallException, XmlRpcTarget.ProcessCanceledException
- Specified by:
callin interfaceXmlRpcTarget- Throws:
RemoteCallExceptionXmlRpcTarget.ProcessCanceledException
-
call
public Object call(String method, Object[] parameters) throws RemoteCallException
- Specified by:
callin interfaceXmlRpcTarget- Throws:
RemoteCallException
-
describeMe
public String describeMe()
- Specified by:
describeMein interfaceXmlRpcTarget
-
callWithCancelable
protected void callWithCancelable(String method, Object[] parameters, Object[] result, XmlRpcTarget.Cancelable cancelable) throws XmlRpcTarget.ProcessCanceledException
-
-