Datalink layer protocols in java

Suoritettu Julkaistu May 12, 2003 Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

the actual questions reagrding the completion of this work are in the deliverables section. However I have included a brief introduction into the general idea of this work. *NOTE* I have already completed the first part of this work (the designing of the code). All I require is for you to create an evaluation and testing to the code that I will supply. Introduction: You have been supplied with Java code which simulates an unreliable physical medium and provides a framework for the design and implementation of your own datalink layer protocols. Three protocols are given as part of the framework: • ProtocolNone: passes frames between applications and the physical layer without examining or modifying the frames in any way. • ProtocolErrorCheck: appends a CRC checksum to application frames destined for the physical layer and drops frames which are subsequently damaged by that physical layer. • ProtocolPAR: implements a fully-functioning bi-directional 1-bit sliding window protocol which drops frames which have been damaged in transit but is capable of resending frames which have been dropped due to such damage or dropped by the physical layer itself. In this project, you will design and implement two protocols; Go-back N and Selective Repeat (*NOTE THIS PART HAS ALREADY BEEN COMPLETED AND IS NOT NEEDED*). You will then assess the performance of your protocols in comparison with ProtocolPAR, presenting the results in a final report. Students must not modify the code framework in any way with the exception of class Project, class ProtocolGoBackN and class ProtocolSelectiveRepeat. Students should be aware that this is not a Java project. While code should be well structured, marks are not given for code performance. Your code will be submitted as evidence of your work.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ----------------------------------------------------- Below is the exact work that I wish you to complete. This actual code for this work is attached below. All that is required is to create evaluation and testing procedures to the code attached. Evaluation You will be supplied with a modified code framework in which the Client can send a fixed number of messages before “terminating?? a processing cycle. You will be able to select this number at the time the client object is created. Modify the Project Class to repeatedly execute and time processing cycles, varying the protocol (PAR, Go back N, Selective Repeat), physical layer parameters (error rate, drop rate, bandwidth) and protocol parameters (timeout period) as required to investigate the following: • How do the protocols perform as the error rate varies between 0% and 50% o Keep other parameters constant (drop rate = 0%, bandwidth = 57600 bits per second, delay = 0ms) • How do the protocols perform as the drop rate varies between 0% and 50%) o Keep other parameters constant (error rate = 0%, bandwidth = 57600 bits per second, delay = 0ms) • How do the protocols perform as the bandwidth varies between 9600 and 115200 bits per second (typical serial link speeds) o Keep other parameters constant (error rate = 10%, drop rate = 10%, delay = 0ms) • How do the protocols perform as the delay rate varies between 0 and 1000ms (typical satellite channels) o Keep other parameters constant (error rate = 10%, drop rate = 10% , bandwidth = 57600 bits per second) • How do the protocols perform as the protocol timeout period varies between 0 and 1000ms o Keep other parameters constant (error rate = 10%, drop rate = 10% , bandwidth = 57600 bits per second, delay=200ms) Deliverable 3: A series of five graphs presenting the results of your evaluation. Analysis Analyse the results obtained from your evaluation and explain the relative performance of the three protocols (PAR, Go Back N and Selective Repeat) with reference to your graphs (what is it about the protocol which makes it behave in the way it does). Answer the following questions, quoting evaluation evidence for your answer in each case: • Which protocol would you use on a physical channel with a low error rate? • Which protocol would you use on a physical channel with a high error rate? • Which protocol would you use on a physical channel with a low drop rate? • Which protocol would you use on a physical channel with a high drop rate? • Which protocol would you use on a physical channel with a low bandwidth? • Which protocol would you use on a physical channel with a high bandwidth? • Which protocol would you use on a physical channel with a low delay? • Which protocol would you use on a physical channel with a high delay? • How is protocol performance affected by its timeout period? Deliverable 4: A report presenting the results of your analysis and all supporting evaluation evidence. Deliverable 5: Your Java code: Classes Project, ProtocolGoBackN, ProtocolSelectiveRepeat and any new classes introduced.

## Platform

Program must run in java. DEADLINE IS THURSDAY 05/15/2003 18:00 CET

tekniikka Java Microsoft MySQL PHP Tietojärjestelmäarkkitehtuuri Ohjelmistojen testaus Järjestelmänvalvoja Windows Desktop

Projektin tunnus: #2934471

Tietoa projektista

4 ehdotusta Etäprojekti Aktiivinen May 14, 2003

Myönnetty käyttäjälle:

vivekdvw

See private message.

$29.75 USD 14 päivässä
(5 Arvostelua)
3.2

4 freelanceria on tarjonnut keskimäärin $47 tähän työhön

dafe2002

See private message.

$59.5 USD 14 päivässä
(9 arvostelua)
3.4
olympussvw

See private message.

$38.25 USD 14 päivässä
(4 arvostelua)
1.8
vw627985vw

See private message.

$59.5 USD 14 päivässä
(3 arvostelua)
1.3