public interface ApplicationLayer
The transport layer should call this method when it receives a packet on a particular connection. For convenience, we are going to keep all the packet's info in the packet itself and send that to the Application layer, although it is not technically equivalent to what TCP does.
Method Summary | |
---|---|
void |
receive(TransportPacket packet)
|
Method Detail |
---|
void receive(TransportPacket packet)