public class Client extends Object
| Constructor and Description |
|---|
Client() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
runTransaction(Map<String,String> request,
Properties props)
Runs a transaction.
|
static Map<String,String> |
runTransaction(Map<String,String> request,
Properties props,
Logger _logger,
boolean prepare,
boolean logTranStart)
Runs a transaction.
|
public static Map<String,String> runTransaction(Map<String,String> request, Properties props) throws FaultException, ClientException
request - request to send.props - properties the client needs to run the transaction.
See README for more information.FaultException - if a fault occurs.ClientException - if any other exception occurs.public static Map<String,String> runTransaction(Map<String,String> request, Properties props, Logger _logger, boolean prepare, boolean logTranStart) throws FaultException, ClientException
request - request to send.props - properties the client needs to run the transaction.
See README for more information._logger - Logger object to used for logging.prepare - Flag as to whether or not the logger's
prepare() method should be called.logTranStart - Flag as to whether or not the logger's
logTransactionStart() method should be called.FaultException - if a fault occurs.ClientException - if any other exception occurs.Copyright © 2022. All rights reserved.