|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionEntry
This interface is base of Transaction.
Method Summary | |
---|---|
void |
doProcess(Context context)
Process transaction, if need. |
void |
fireTimer()
The timer is expired, then start expired process |
TransactionController |
getParentTransaction()
Get parent Transaction object of this entry |
TransactionInfo |
getTransactionInfo()
get TransactionInfo. |
TransactionState |
getTransactionState()
Get current transaction status |
TransactionType |
getTransactionType()
Get type of transaction |
boolean |
isTimerExpired(long currentTime)
Check the timer is expired or not. |
void |
onError()
An error is happend, then start error handling process |
void |
setTransactionInfo(TransactionInfo transactionInfo)
set TransactionInfo. |
Method Detail |
---|
void doProcess(Context context)
context
- TransactionState getTransactionState()
boolean isTimerExpired(long currentTime)
currentTime
- Current Time (msec)
void fireTimer()
void onError()
TransactionController getParentTransaction()
TransactionType getTransactionType()
void setTransactionInfo(TransactionInfo transactionInfo)
transactionInfo
- TransactionInfo getTransactionInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |