Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Java Sockets and URLs > The Pizza Order Protocol (TPOP)

The Pizza Order Protocol (TPOP)

To design the protocol we need to examine what information must be passed from the client to the server and vice versa. If the user interface for our client application is as shown in Figure 3-1 we can readily see that to constitute an order we need to send the name, address, phone number, pizza size (small, medium, or large) , and which topping (Veggies, Meat, or California) is to be added to a standard cheese pizza.

Figure 3-1. A sample GUI for the PizzaTool.



  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint