All Packages Class Hierarchy This Package Previous Next Index
Interface semper.txlayer.transfer.TransferObserver
- public interface TransferObserver
- extends TransactionObserver
This is an interface that all TransferObservers must fulfill
in order to be used in the txlayer.
It is an extension of TransactionObserver
with three additional callback methods.
-
onPrepare(Transaction)
- Is called when the TransferTransaction prepares
itself.
-
onReceive(Transaction)
- Is called when the TransferTransaction performs
its receive() method.
-
onSend(Transaction)
- Is called when the TransferTransaction performs
its send() method.
onPrepare
public abstract void onPrepare(Transaction t)
- Is called when the TransferTransaction prepares
itself.
- Parameters:
- t - The calling TransferTransaction.
onSend
public abstract void onSend(Transaction t)
- Is called when the TransferTransaction performs
its send() method.
- Parameters:
- t - The calling TransferTransaction.
onReceive
public abstract void onReceive(Transaction t)
- Is called when the TransferTransaction performs
its receive() method.
- Parameters:
- t - The calling TransferTransaction.
All Packages Class Hierarchy This Package Previous Next Index