PC2 Packets - pc2ccs/pc2v9 GitHub Wiki

Communication between PC² modules is accomplished by sending PC2 Packets. The types of packets which can be sent between modules are defined in class PacketType in package core.packet. An “enum” named Type in that class defines all of the types of packets recognized by the PC² system.

For example, one type of packet is a RUN_SUBMISSION packet. When a Team module has a run to submit to the Server to be judged, it constructs a RUN_SUBMISSION packet and passes that packet to the Transport Layer, which forwards it to the Server.