-
Notifications
You must be signed in to change notification settings - Fork 24
PC2 Packets
John Clevenger edited this page Apr 28, 2020
·
1 revision
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.