# Source Code:

- DataLinkSimulator.java - main class of the simulator, contains GUI and simulator implementation code
- Frame.java, IFrame.java, SFrame.java - represent Information-Frame and Supervisory-Frame as in HDLC
- CRC.java, CRCGenerator.java, CRCChecker - Generate (calculate) CRC bits and performed CRC check
- VRC.java, ParityGenerator.java, ParityChecker.java - Generate (calculate) Parity bits and performed Parity check
- Medium.java - represent transmission medium with randomise error
- Sender.java, StopNWaitSender.java, SlidingWindowSender.java, GoBackNSender.java, SelectiveRejectSender.java - represent sender of different type of Error Control
- Receiver.java, StopNWaitReceiver.java, SlidingWindowReceiver.java, GoBackNReceiver.java, SelectiveRejectReceiver.java - represent receiver of different type of Error Control
- Browser.java - a simple browser to display user manual [4]
- SimulatorLog.java - used for write a Data Link Simulator Log File base on the template at log_template.htm in HTML format
- HTMLFileFilter - File Filter for File Chooser in saving the Data Link Simulator Log File
- generalConverter.java - Convert data between String, Char, Binary, etc

[Back to Top] [Home]

## References:

[1] JDK API 1.4.1

[2] W. Stallings, Data & Computer Communications 6th Edition, Prentice Hall, 2000, ISBN: 0-13-086388-2

[3] Behrouz A. Forouzan, Data Communications and Networking 2nd Edition, McGrawHill, 2001, ISBN: 0-07-118160-1

[4] Browser.java, available at WWW at "http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20282390.html"

[Back to Top] [Home]