Class FamilyConsumer

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----FamilyConsumer

public class FamilyConsumer
extends Thread

Constructor Index

 o FamilyConsumer(FamilyWallet)
FamilyConsumer(FamilyWallet) is a constructor

Method Index

 o run()
run() is invoked when the object starts
 o timer(int)
timer(int) is a timer that makes the object sleep

Constructors

 o FamilyConsumer
  public FamilyConsumer(FamilyWallet wallet)
FamilyConsumer(FamilyWallet) is a constructor

Parameters:
wallet - the referring FamilyWallet instance

Methods

 o run
  public void run()
run() is invoked when the object starts

Overrides:
run in class Thread
 o timer
  public void timer(int ms)
timer(int) is a timer that makes the object sleep

Parameters:
ms - number of milliseconds