the
above example File transfer could use three modules
File transfer application
Communication service module
Network access module
™ File transfer application
File
Transfer contains all of the logic is unique to the file transfer application
such as:
Transmitting passwords
File Commands
Checking File System on other machine if
it is ready
Check File System Compatibility
File records
™ Communication service module
Instead of
allowing File Transfer
Module to deal
with actual transfer
of data and
commands,
we can have a separate module for this transfer. This module must make
sure
that the receiver system is ready to receive and look into the reliable
exchange of
data
™ Network access module
Nature
of the exchange between systems is independent of the network that connects
them. That
allows us to
have a 3rd
module that handles
the details of
the Network
interface
and interacts with the network. If Network to be used changes, only Network
|
No comments:
Post a Comment