kexinrong/NetworkSimulator — pull request #6 by adbh94 (2014-10-29 18:32:06+00:00)
Title: Added DataPacket, AcknowledgementPacket, RoutingUpdatePacket, and FINPacket Classes

Out of the new packet classes, only RoutingUpdatePacket had a new attribute (table of distance estimates). All other classes simply instantiated the base Packet class while setting the "packet_type" field.

Also renamed "size" attribute to "length". Updated the test file to cover initialization of the new packet classes.