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.


Method Index

 o onPrepare(Transaction)
Is called when the TransferTransaction prepares itself.
 o onReceive(Transaction)
Is called when the TransferTransaction performs its receive() method.
 o onSend(Transaction)
Is called when the TransferTransaction performs its send() method.

Methods

 o onPrepare
 public abstract void onPrepare(Transaction t)
Is called when the TransferTransaction prepares itself.

Parameters:
t - The calling TransferTransaction.
 o onSend
 public abstract void onSend(Transaction t)
Is called when the TransferTransaction performs its send() method.

Parameters:
t - The calling TransferTransaction.
 o 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