-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I don't know if this is a good idea but I face some situation where I need to handle a coap request OR a coap (separated) response in a same way. This is not too surprising as from a CoAP RFC point of view all request and response are conceptually a CoAP Message.
In my case, I need the remote peer address and the transport context of the message.
See :
- https://github.com/eclipse-leshan/leshan/blob/170d4095618e1371470ef27c61df5de4885b8610/leshan-tl-javacoap-core/src/main/java/org/eclipse/leshan/transport/javacoap/identity/DefaultCoapIdentityHandler.java#L27-L51
- https://github.com/eclipse-leshan/leshan/blob/170d4095618e1371470ef27c61df5de4885b8610/leshan-tl-javacoap-core/src/main/java/org/eclipse/leshan/transport/javacoap/identity/DefaultTlsIdentityHandler.java#L33-L47
Metadata
Metadata
Assignees
Labels
No labels