Package net.sf.xbus.base.core.timeoutcall

Examples of net.sf.xbus.base.core.timeoutcall.TimedCallable


    {
      timeout = Integer.MAX_VALUE;
    }

    ProgramCaller caller = new ProgramCaller(mDestination, callData);
    TimedCallable tc = new TimedCallable(caller, timeout);
    try
    {
      retString = (String) tc.call();
    }
    catch (Exception e)
    {
      throw new XException(Constants.LOCATION_EXTERN,
          Constants.LAYER_TECHNICAL,
View Full Code Here


      timeout = Integer.MAX_VALUE;
    }

    JavaCaller caller = new JavaCaller(mDestination, function, callData,
        mIsText);
    TimedCallable tc = new TimedCallable(caller, timeout);
    try
    {
      retObject = tc.call();
    }
    catch (Exception e)
    {
      throw new XException(Constants.LOCATION_EXTERN,
          Constants.LAYER_TECHNICAL,
View Full Code Here

  protected void callAS400Program(AS400 as400, String programName,
      ProgramParameter[] parameters, int timeout) throws XException
  {
    AS400ProgramCaller caller = new AS400ProgramCaller(as400, programName,
        parameters, mConverter);
    TimedCallable tc = new TimedCallable(caller, timeout);
    try
    {
      tc.call();
    }
    catch (Exception e)
    {
      throw new XException(Constants.LOCATION_EXTERN,
          Constants.LAYER_TECHNICAL,
View Full Code Here

TOP

Related Classes of net.sf.xbus.base.core.timeoutcall.TimedCallable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.