Polished essays

Have any queries?  send us an email

Login
Live Chat
  • Home
  • Our services
  • How it works
  • Pricing
  • About us
  • Contact us
Order Now

  • Home
  • Our services
  • How it works
  • Pricing
  • About us
  • Contact us
Order Now

CA4006: Provide A Protocol Descriptor For The Email Service: Concurrent & Distributed Programming Assignment

Objective(s):

  1. Provide a protocol descriptor for the email service you develop.
  2. Design and implement an email application using socket programming.
  3. Test your application.

Requirements

You have been asked to design and develop an email application that will allow users to set up an account with the system, log in and retrieve their emails as well as sending emails to other users of the system. Users should also be able to log out of the system, which should close down the client program. The email application must communicate via TCP and should be able to handle an infinite number of concurrent client connections.

This concurrent functionality must be provided through the use of threading. Your email and user data must be maintained in data structures within your program for the duration of its execution, not externally (i.e. no database/file storage while it is running. You may store this data in a database or file prior to the application’s termination and read it in when the application starts up, but you may not use external storage other than this)

The email application will need to cater for the following fundamental application requirements:

  • Setting up/Registering an account with the system and retaining user login details on the server.
  • Logging in to the system (this should automatically display the user’s new received emails if there are any).
  • Logging out of the system.

The email application will need to cater for the following fundamental mailing requirements:

  • Sending an email to one (or more) users of the system.
  • Retrieving all-new (unread) emails sent to the current user.
  • Retrieving all email sent by the current user
  • Retrieving all emails marked as spam for the current user
  • Searching for a specific email sent by/to the current user
  • Deleting a specific email sent by/to the current user
  • Moving a specific email belonging to the current user into spam
  • Deleting all spam email belonging to the current user

Required Components:

For this assignment you will need to provide:

  1. Protocol Descriptor 10%
  2. Client Interface 20%
  3. Application Design and Implementation 60%
  4. Testing 10%

Protocol Descriptor

You must design & specify a suitable protocol for your email service. This must include all standard protocol descriptor components and should detail all acceptable requests along with their appropriate responses. Finally, you must include sample exchanges for all requests.

Client Interface

You must design & develop a suitable interface for your client program. This should be a DOS command-line interface

Application Design and Implementation

You will need to consider:

  1. The functionality of the server:
    • How is the server going to store users?
    • How are you going to store the emails (if this is necessary)?
    • How will your server handle interaction with multiple clients?
    • A mutual exclusion will need to be considered if a common data object is being accessed concurrently by multiple clients (i.e. coordinate access to a shared resource).
  2. The functionality of the client:
    • How is a client going to display information to the user?
    • How is the client going to send and receive emails?
  3. What information will you need to exchange between the client and the server?
  4. Appropriate validation and error handling.

Testing

You are required to thoroughly test your project. You should include a test plan documenting test cases covered, along with the unit tests corresponding to these test cases.

Services at a glance
  • Essay writing
  • Dissertation
  • Thesis
  • Research paper
  • Coursework
  • Term Paper
  • Case Study
  • Editing/Profreading
Free assistance
  • Amendments $0
  • Title page $0
  • Outline $0
  • E-mail delivery $0
  • Editing $0
  • Bibliography $0
Customers reviews

Awesome writing service!

Got a clean A. I had the writer revise a few areas and I’m here… Read more “Awesome writing service!”

This service is always on time

When you thought completing  a 4-page in one hour was impossible and bam! your writer… Read more “This service is always on time”

Working and studying at the same time is real trouble.

I have really struggled to work to pay bills and study with all the assignments… Read more “Working and studying at the same time is real trouble.”

Way to go, EssayWriting!

With all the stuff going on, I have been doing doordash to make a living.… Read more “Way to go, EssayWriting!”

About us

We are a leading essay writing platform where quality, confidentiality, reliability, and originality are paramount.

Best essay writers

Our writers have minimum Master degrees, and a vast experience in professional academic writing.

Make your payment from a trusted vendor

 

© 2020 Polishedessays. All Rights Reserved.