Package com.exonum.binding.service
Interface TransactionConverter
- 
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
@FunctionalInterface public interface TransactionConverterA converter of a raw Exonum transaction, which contains transaction data, into an executable transaction. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactiontoTransaction(RawTransaction rawTransaction)Converts an Exonum raw transaction to an executable transaction of some service. 
 - 
 
- 
- 
Method Detail
- 
toTransaction
Transaction toTransaction(RawTransaction rawTransaction)
Converts an Exonum raw transaction to an executable transaction of some service.- Parameters:
 rawTransaction- a raw transaction to be converted- Returns:
 - an executable transaction of some service
 - Throws:
 java.lang.IllegalArgumentException- if the raw transaction is malformed, or a transaction of an unknown servicejava.lang.NullPointerException- if the raw transaction is null
 
 - 
 
 -