mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2026-09-01 22:00:23 +00:00
* performance optimization through multithreading * added duration for the proposed calls
22 lines
495 B
Java
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;
|
|
}
|
|
}
|