Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] InMemoryLwM2mObservationStore.get(Key) serialize and parse again

Hi list,

 

so after some hours of trying to get notifies over tcp working, I got to the point, where I’m wondering,

if

 

                RawData serialize = serializer.serializeRequest(obs.getRequest(), null);

                DataParser parser = new UdpDataParser();

                Request newRequest = (Request) parser.parseMessage(serialize);

 

May be improved by just reseting the message observers?

Or why could the original request not be used?

 

Mit freundlichen Grüßen / Best regards

 

Achim Kraus

 

Bosch Software Innovations GmbH

Communications (INST/ESY1)

Stuttgarter Straße 130

71332 Waiblingen

GERMANY

www.bosch-si.de

www.blog.bosch-si.com

 

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B

Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn

 

 


Back to the top