Class semper.payment.ecash.HandleAction
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)
Handle the action as in Bryce's testec.c function handle_action
 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 final static 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
Handle the action as in Bryce's testec.c function handle_action
 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".

All Packages  Class Hierarchy  This Package  Previous  Next  Index