Skip to main content

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

I agree this code is a bit strange. I write it because I would like to have the same behavior with the InMemory implementation than persistent implementation. I would like to be sure the request object was not the same.

Le 04/11/2016 à 16:56, Kraus Achim (INST/ESY1) a écrit :

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

 

 



_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev


Back to the top