NAD-chapter3.pdf


文档分类:IT计算机 | 页数:约84页 举报非法文档有奖
1/ 84
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/ 84
文档列表 文档介绍
Chapter 3: Client Software Design
Chapter goal:
„ Algorithm and issues
„ Concurrency in client
„ Client examples
哈工大计算机学院 work Application Development Client Software Design 1
Chapter 3: Client Software Design
Chapter goal:
„ Algorithm and issues
„ Concurrency in client
„ Client examples
哈工大计算机学院 work Application Development Client Software Design 2
Learning algorithm instead of
details
„ An application that uses TCP/IP must specify many
details about the munication.
„ Knowing the low-level details of all possible socket
functions and their exact parameters does not provide
programmers with an understanding of how to build
well-designed, distributed program.
„ General understanding of the functions used for
munication is important.
„ If the programmer knows what the program should do,
finding out how to do it is straightforward.
„ Although programmers need to understand the
conceptual capabilities of the protocol interface, they
should concentrate on learning about ways to structure
communicating programs instead of memorizing the
details of a particular interface.
哈工大计算机学院 work Application Development Client Software Design 3
Client architecture
„ Clients are conceptually simpler than
servers.
„ Most client does not explicitly handle
concurrent interaction with multiple servers.
„ Most client executes as a conventional app
program.
„ Most client does not need to enforce
protections.
哈工大计算机学院 work Application Development Client Software Design 4
Identify a server
„ Several methods to find a server’s IP address and
protocol port number:
„ Domain name or IP address as a constant in program;
„ Requiring user to identify;
„ From stable storage;
„ Using a separate protocol to find;
„ Allowing the user to specify a server address when
invoking client software makes the client program
more general and makes it possible to change server
locations.
„ Building

NAD-chapter3 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数 84
  • 收藏数 0 收藏
  • 顶次数 0
  • 上传人 中国课件站
  • 文件大小 0 KB
  • 时间2011-09-06
最近更新