package JThread.examples.shopper;

import JThread.socket.*;

public class Home {
  public static void main( String[] args ) {
      // shop on local machine, then shop on remote machine
      System.out.println("Create a new shopper at home.");
      new Shopper().start();

      // init home stock
      Server.bind("home", new ItemStock());

      // start local server
      Server.start(8000);
  }
}