Package jetbrains.buildServer.xmlrpc
Interface XmlRpcTarget
-
- All Known Implementing Classes:
AbstractXmlRpcTarget,BaseAgentSpringTestCase,CommonsXmlRpcTargetImpl
public interface XmlRpcTarget- Author:
- Kir
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXmlRpcTarget.Cancelablestatic classXmlRpcTarget.ProcessCanceledExceptionstatic interfaceXmlRpcTarget.XmlRpcCredentialsProvider
-
Field Summary
Fields Modifier and Type Field Description static Object[]EMPTY_PARAMETERS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectcall(String method, Object[] parameters)Objectcall(String method, Object[] parameters, XmlRpcTarget.Cancelable cancelable)StringdescribeMe()voiddispose()Disposes possible pending keep-alive connections and executor threads The difference with 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 connectionsStringgetServerURL()StringgetUserAgent()voidsetCredentialsProvider(XmlRpcTarget.XmlRpcCredentialsProvider provider)voidsetProxy(String proxyHost, int proxyPort)voidsetProxyCredentials(String username, String password)
-
-
-
Field Detail
-
EMPTY_PARAMETERS
static final Object[] EMPTY_PARAMETERS
-
-
Method Detail
-
call
Object call(String method, Object[] parameters, XmlRpcTarget.Cancelable cancelable) throws RemoteCallException, XmlRpcTarget.ProcessCanceledException
-
call
Object call(String method, Object[] parameters) throws RemoteCallException
- Throws:
RemoteCallException
-
describeMe
String describeMe()
-
getServerURL
String getServerURL()
-
getUserAgent
String getUserAgent()
-
disposeConnections
void disposeConnections()
This method must be called to dispose possible pending keep-alive connections- See Also:
dispose()
-
dispose
void dispose()
Disposes possible pending keep-alive connections and executor threads The difference with disposeConnections() is that this method fully disposes XmlRpcTarget and it cannot be longer used- Since:
- 10.0.5
- See Also:
disposeConnections()
-
setCredentialsProvider
void setCredentialsProvider(XmlRpcTarget.XmlRpcCredentialsProvider provider)
-
setProxy
void setProxy(String proxyHost, int proxyPort)
-
-