|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TransactionConfidence.Listener.ChangeReason>
com.google.bitcoin.core.TransactionConfidence.Listener.ChangeReason
public static enum TransactionConfidence.Listener.ChangeReason
An enum that describes why a transaction confidence listener is being invoked (i.e. the class of change).
| Enum Constant Summary | |
|---|---|
DEPTH
Occurs when a transaction that is in the best known block chain gets buried by another block. |
|
SEEN_PEERS
Occurs when a pending transaction (not in the chain) was announced by another connected peers. |
|
TYPE
Occurs when the type returned by TransactionConfidence.getConfidenceType()
has changed. |
|
| Method Summary | |
|---|---|
static TransactionConfidence.Listener.ChangeReason |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TransactionConfidence.Listener.ChangeReason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TransactionConfidence.Listener.ChangeReason TYPE
TransactionConfidence.getConfidenceType()
has changed. For example, if a PENDING transaction changes to BUILDING or DEAD, then this reason will
be given. It's a high level summary.
public static final TransactionConfidence.Listener.ChangeReason DEPTH
public static final TransactionConfidence.Listener.ChangeReason SEEN_PEERS
| Method Detail |
|---|
public static TransactionConfidence.Listener.ChangeReason[] values()
for (TransactionConfidence.Listener.ChangeReason c : TransactionConfidence.Listener.ChangeReason.values()) System.out.println(c);
public static TransactionConfidence.Listener.ChangeReason valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||