blob: e51a8f59f22bb5eb59da3902a19b5211151b9577 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2020 RBEI and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v. 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Abirami Bhologa Indiran - Initial API and Implementation
*******************************************************************************/
package org.eclipse.blockchain.core.interfaces;
import org.eclipse.blockchain.core.model.TransactionModel;
/**
* An interface for view's which want to regiter themselves to get notification
* about transactions that occur in blockchain
*/
public interface IBlockchainView {
/**
* The transaction view which gets called on receiving a new transaction
*
* @param transactionModel
* - The transaction data
*/
public void updateView(TransactionModel transactionModel);
}