public final class MatrixRoutingResponse
extends com.tomtom.online.sdk.common.service.ServiceBaseResponse
| Constructor and Description |
|---|
MatrixRoutingResponse(java.util.Map<MatrixRoutingResultKey,MatrixRoutingResult> results,
com.tomtom.online.sdk.common.service.ResponseStatus error,
int totalRoutes,
int successfulRoutes)
A constructor of the matrix routing Response called after a matrix routing Request.
|
public MatrixRoutingResponse(java.util.Map<MatrixRoutingResultKey,MatrixRoutingResult> results, com.tomtom.online.sdk.common.service.ResponseStatus error, int totalRoutes, int successfulRoutes)
results - A map which contains the results of a matrix query.error - The code which is used if an error occurred during routing.totalRoutes - The number of total routes calculated.successfulRoutes - The number of routes that were successful.