processPacket abstract method
Handle one packet forwarded by the link: the default implementations answer "PONG" to heartbeats (echoing the payload with 'time' refreshed, docs/client.md section 6) and "COPY" to data packets (sn/index paired, docs/client.md section 4.2, section 9).
The replies are stateless on purpose: duplicates are answered
"COPY" too (docs/client.md section 2) - dedup is the app's job in
MagpieDelegate.onPacketReceived - and no state checks are
needed: the link consults the pipe only while the session is
consistent (reconnect clears the pipes, the handshake gates
their creation). The delegate observes each packet before this
runs (BaseLink.onReceived).
Implementation
void processPacket(Packet packet);