Files
iota.lib.java/src/main/java/jota/dto/response/GetTransferResponse.java
T
AZ deae4945b4 * refactoring started
* performance optimization through multithreading
* added duration for the proposed calls
2017-01-15 18:04:45 +01:00

22 lines
495 B
Java

package jota.dto.response;
import jota.model.Bundle;
/**
* Created by pinpong on 28.12.16.
*/
public class GetTransferResponse extends AbstractResponse {
private Bundle[] transferBundle;
public static GetTransferResponse create(Bundle[] transferBundle, long duration) {
GetTransferResponse res = new GetTransferResponse();
res.transferBundle = transferBundle;
return res;
}
public Bundle[] getTransfers() {
return transferBundle;
}
}