All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.payment.ecash.HandleAction

java.lang.Object
   |
   +----semper.payment.ecash.HandleAction

public class HandleAction
extends Object

Variable Index

 o TCP_PREFIX_MAGIC_NUMBER
Ecash magic number.

Constructor Index

 o HandleAction()

Method Index

 o handleAction(ActionHandler)
Currently handleAction only deals with pure ecash messages.
 o listen()
 o toAddress(String, int)
Java equivalent of test_host_name_to_addr (t_tcp.c) Encodes a TCP/IP address into an Address.

Variables

 o TCP_PREFIX_MAGIC_NUMBER
 public static final int TCP_PREFIX_MAGIC_NUMBER
Ecash magic number. All messages exchanged between ecash clients and mints start with this 4-byte number.

Constructors

 o HandleAction
 public HandleAction()

Methods

 o handleAction
 public static void handleAction(ActionHandler acth) throws ECException
Currently handleAction only deals with pure ecash messages. Next step is to do all payment related messages between consumer and merchant over the Semper channel. Note that during a payment the merchant will both communicate over the Semper channel (with the consumer) and over an "ecash channel" (with the ecash mint). The two cases can be distinguished from acth.get_addr().

Throws: ECException
caught by ecashPocket
 o listen
 public static Vector listen() throws ECException
 o toAddress
 public static Address toAddress(String hostname,
                                 int port) throws ECException
Java equivalent of test_host_name_to_addr (t_tcp.c) Encodes a TCP/IP address into an Address. DigiCash Ecash(tm) clients and DigiCash mints use "hostname:port", but let's try moving to the more flexible "TCP:hostname:port".

Throws: ECException
caught by ecashPocket

All Packages  Class Hierarchy  This Package  Previous  Next  Index