Tabnine Logo
XmlRpcClientWorkerFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
XmlRpcClientWorkerFactory
in
org.apache.xmlrpc.client

Best Java code snippets using org.apache.xmlrpc.client.XmlRpcClientWorkerFactory (Showing top 12 results out of 315)

origin: xmlrpc/xmlrpc-client

protected XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory() {
  return new XmlRpcClientWorkerFactory(this);
}
origin: rosjava/rosjava_core

public XmlRpcController getController() {
  return factory.getController();
}
origin: org.apache.xmlrpc/xmlrpc-client

/** Performs a synchronous request.
 * @param pRequest The request being performed.
 * @return The requests result.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest)
    throws XmlRpcException {
  try {
    XmlRpcClient client = (XmlRpcClient) getController();
    return client.getTransportFactory().getTransport().sendRequest(pRequest);
  } finally {
    factory.releaseWorker(this);
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-client

/** Performs a synchronous request.
 * @param pRequest The request being performed.
 * @return The requests result.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest)
    throws XmlRpcException {
  try {
    XmlRpcClient client = (XmlRpcClient) getController();
    return client.getTransportFactory().getTransport().sendRequest(pRequest);
  } finally {
    factory.releaseWorker(this);
  }
}
origin: rosjava/rosjava_core

protected XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory() {
  return new XmlRpcClientWorkerFactory(this);
}
origin: rosjava/rosjava_core

/** Performs a synchronous request.
 * @param pRequest The request being performed.
 * @return The requests result.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest)
    throws XmlRpcException {
  try {
    XmlRpcClient client = (XmlRpcClient) getController();
    return client.getTransportFactory().getTransport().sendRequest(pRequest);
  } finally {
    factory.releaseWorker(this);
  }
}
origin: org.apache.xmlrpc/xmlrpc-client

public XmlRpcController getController() {
  return factory.getController();
}
origin: org.sonatype.sisu/sisu-xmlrpc-client

protected XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory() {
  return new XmlRpcClientWorkerFactory(this);
}
origin: rosjava/rosjava_core

  public void run(){
    Object result = null;
    Throwable th = null;
    try {
      XmlRpcClient client = (XmlRpcClient) getController();
      result = client.getTransportFactory().getTransport().sendRequest(pRequest);
    } catch (Throwable t) {
      th = t;
    }
    factory.releaseWorker(XmlRpcClientWorker.this);
    if (th == null) {
      pCallback.handleResult(pRequest, result);
    } else {
      pCallback.handleError(pRequest, th);
    }
  }
};
origin: org.sonatype.sisu/sisu-xmlrpc-client

public XmlRpcController getController() {
  return factory.getController();
}
origin: org.apache.xmlrpc/xmlrpc-client

protected XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory() {
  return new XmlRpcClientWorkerFactory(this);
}
origin: org.apache.xmlrpc/xmlrpc-client

  public void run(){
    Object result = null;
    Throwable th = null;
    try {
      XmlRpcClient client = (XmlRpcClient) getController();
      result = client.getTransportFactory().getTransport().sendRequest(pRequest);
    } catch (Throwable t) {
      th = t;
    }
    factory.releaseWorker(XmlRpcClientWorker.this);
    if (th == null) {
      pCallback.handleResult(pRequest, result);
    } else {
      pCallback.handleError(pRequest, th);
    }
  }
};
org.apache.xmlrpc.clientXmlRpcClientWorkerFactory

Javadoc

A worker factory for the client, creating instances of org.apache.xmlrpc.client.XmlRpcClientWorker.

Most used methods

  • <init>
    Creates a new instance.
  • getController
  • releaseWorker

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Kernel (java.awt.image)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JFrame (javax.swing)
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now