Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange
In directory sc8-pr-cvs1:/tmp/cvs-serv10127/src/java/org/neuclear/exchange
Modified Files:
ExchangeAgent.java ExchangeOrder.java
ExchangeOrderReceipt.java ExchangePerformedException.java
Log Message:
Renamed HeldTransfer to Exchange
Dropped valuetime from the request objects.
Doesnt yet compile. New commit to follow soon.
Index: ExchangeAgent.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/ExchangeAgent.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ExchangeAgent.java 10 Nov 2003 17:42:08 -0000 1.3
--- ExchangeAgent.java 3 Jan 2004 20:36:26 -0000 1.4
***************
*** 22,25 ****
--- 22,30 ----
$Id$
$Log$
+ Revision 1.4 2004/01/03 20:36:26 pelle
+ Renamed HeldTransfer to Exchange
+ Dropped valuetime from the request objects.
+ Doesnt yet compile. New commit to follow soon.
+
Revision 1.3 2003/11/10 17:42:08 pelle
The AssetController interface has been more or less finalized.
***************
*** 34,38 ****
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Held companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
--- 39,43 ----
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Exchange companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
***************
*** 50,54 ****
/**
* The ExchangeAgent takes an ExchangeOrder containing a
! * HeldTransferReceipt as the bid and defails of what is wanted in
* exchange.
* <p/>
--- 55,59 ----
/**
* The ExchangeAgent takes an ExchangeOrder containing a
! * ExchangeReceipt as the bid and defails of what is wanted in
* exchange.
* <p/>
Index: ExchangeOrder.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/ExchangeOrder.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ExchangeOrder.java 21 Nov 2003 04:43:04 -0000 1.4
--- ExchangeOrder.java 3 Jan 2004 20:36:26 -0000 1.5
***************
*** 1,5 ****
package org.neuclear.exchange;
! import org.neuclear.asset.contracts.HeldTransferReceipt;
/*
--- 1,5 ----
package org.neuclear.exchange;
! import org.neuclear.asset.contracts.ExchangeReceipt;
/*
***************
*** 23,26 ****
--- 23,31 ----
$Id$
$Log$
+ Revision 1.5 2004/01/03 20:36:26 pelle
+ Renamed HeldTransfer to Exchange
+ Dropped valuetime from the request objects.
+ Doesnt yet compile. New commit to follow soon.
+
Revision 1.4 2003/11/21 04:43:04 pelle
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 41,45 ****
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Held companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
--- 46,50 ----
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Exchange companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
***************
*** 61,65 ****
*/
public final class ExchangeOrder {
! public ExchangeOrder(final HeldTransferReceipt bid, final String requestedAsset, final double amount) {
this.bid = bid;
this.requestedAsset = requestedAsset;
--- 66,70 ----
*/
public final class ExchangeOrder {
! public ExchangeOrder(final ExchangeReceipt bid, final String requestedAsset, final double amount) {
this.bid = bid;
this.requestedAsset = requestedAsset;
***************
*** 67,71 ****
}
! public final HeldTransferReceipt getBid() {
return bid;
}
--- 72,76 ----
}
! public final ExchangeReceipt getBid() {
return bid;
}
***************
*** 79,83 ****
}
! private final HeldTransferReceipt bid;
private final String requestedAsset;
private final double amount;
--- 84,88 ----
}
! private final ExchangeReceipt bid;
private final String requestedAsset;
private final double amount;
Index: ExchangeOrderReceipt.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/ExchangeOrderReceipt.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ExchangeOrderReceipt.java 21 Nov 2003 04:43:04 -0000 1.4
--- ExchangeOrderReceipt.java 3 Jan 2004 20:36:26 -0000 1.5
***************
*** 1,5 ****
package org.neuclear.exchange;
! import org.neuclear.asset.contracts.HeldTransferReceipt;
/*
--- 1,5 ----
package org.neuclear.exchange;
! import org.neuclear.asset.contracts.ExchangeReceipt;
/*
***************
*** 23,26 ****
--- 23,31 ----
$Id$
$Log$
+ Revision 1.5 2004/01/03 20:36:26 pelle
+ Renamed HeldTransfer to Exchange
+ Dropped valuetime from the request objects.
+ Doesnt yet compile. New commit to follow soon.
+
Revision 1.4 2003/11/21 04:43:04 pelle
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 41,45 ****
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Held companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
--- 46,50 ----
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Exchange companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
***************
*** 79,83 ****
}
! public final HeldTransferReceipt getBid() {
return bid;
}
--- 84,88 ----
}
! public final ExchangeReceipt getBid() {
return bid;
}
***************
*** 97,101 ****
private final ExchangeAgent agent;
private final String id;
! private final HeldTransferReceipt bid;
private final String requestedAsset;
private final double amount;
--- 102,106 ----
private final ExchangeAgent agent;
private final String id;
! private final ExchangeReceipt bid;
private final String requestedAsset;
private final double amount;
Index: ExchangePerformedException.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/exchange/ExchangePerformedException.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ExchangePerformedException.java 21 Nov 2003 04:43:04 -0000 1.4
--- ExchangePerformedException.java 3 Jan 2004 20:36:26 -0000 1.5
***************
*** 21,24 ****
--- 21,29 ----
$Id$
$Log$
+ Revision 1.5 2004/01/03 20:36:26 pelle
+ Renamed HeldTransfer to Exchange
+ Dropped valuetime from the request objects.
+ Doesnt yet compile. New commit to follow soon.
+
Revision 1.4 2003/11/21 04:43:04 pelle
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
***************
*** 39,43 ****
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Held companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
--- 44,48 ----
Issuer is now Asset which is a subclass of Identity
AssetController supports more than one Asset. Which is important for most non ecurrency implementations.
! TransferRequest/Receipt and its Exchange companions are now SignedNamedObjects. Thus to create them you must use
their matching TransferRequest/ReceiptBuilder classes.
PaymentProcessor has been renamed CurrencyController. I will extract a superclass later to be named AbstractLedgerController
|