public class ChildToParentExchange extends AbstractContract<java.lang.Object,java.lang.Object>
Modifier and Type | Class and Description |
---|---|
static class |
ChildToParentExchange.CoinExchangeOrders |
static interface |
ChildToParentExchange.Params |
Constructor and Description |
---|
ChildToParentExchange() |
Modifier and Type | Method and Description |
---|---|
JO |
processRequest(RequestContext context)
Simulate the process, given amount and chain, calculate how much will be returned
|
JO |
processTransaction(TransactionContext context) |
isDuplicate, processBlock, processInvocation, processVoucher
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, minProductVersion, shutdown
public JO processTransaction(TransactionContext context)
processTransaction
in interface Contract<java.lang.Object,java.lang.Object>
processTransaction
in class AbstractContract<java.lang.Object,java.lang.Object>
public JO processRequest(RequestContext context)
processRequest
in interface Contract<java.lang.Object,java.lang.Object>
processRequest
in class AbstractContract<java.lang.Object,java.lang.Object>
context
- contract context