mirror of
https://github.com/deavmi/doap
synced 2024-07-04 16:10:15 +02:00
UDPMessaging
- `handlePacket(CoapPacket)` now calls `yankRequest()` with the received and decoded `CoapPacket`
This commit is contained in:
parent
8dad7795ad
commit
1bc4664e33
|
@ -199,7 +199,7 @@ public class UDPMessaging : CoapMessagingLayer
|
||||||
*/
|
*/
|
||||||
private void handlePacket(CoapPacket packet)
|
private void handlePacket(CoapPacket packet)
|
||||||
{
|
{
|
||||||
CoapRequest request = getClient().yankRequest(packet.getToken());
|
CoapRequest request = getClient().yankRequest(packet);
|
||||||
if(request)
|
if(request)
|
||||||
{
|
{
|
||||||
writeln("Matched response '"~packet.toString()~"' to request '"~request.toString()~"'");
|
writeln("Matched response '"~packet.toString()~"' to request '"~request.toString()~"'");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user