Artifact Content
Not logged in

Artifact 1a6e58b00869637c5cbd8b1c0351fa2020c7a57f:


package org.interledger.ilp.client.events;

import org.interledger.ilp.ledger.events.LedgerTransferEvent;
import org.interledger.ilp.ledger.model.LedgerTransfer;

import java.util.EventObject;

public class ClientLedgerTransferEvent extends EventObject implements LedgerTransferEvent {

  private static final long serialVersionUID = -941813660810194734L;

  private LedgerTransfer transfer;

  public ClientLedgerTransferEvent(Object source, LedgerTransfer transfer) {
    super(source);
    this.transfer = transfer;
  }

  @Override
  public LedgerTransfer getTransfer() {
    return transfer;
  }

}