Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Californium (Cf) CoAP Framework » client observe(Replacing observe relation )
client observe [message #1708770] Sun, 20 September 2015 21:17
Fabian Katins is currently offline Fabian KatinsFriend
Messages: 2
Registered: September 2015
Junior Member
Hello,
I am new

I want to establish an observe relation with the following code:
         
CoapObserveRelation relation=    client.observe(new CoapHandler() {

                @Override
                public void onLoad(CoapResponse response) {
                    System.out.println(response.getResponseText());
                }

                @Override
                public void onError() {
                    System.err.println();
                }
            });


it works but every few second the sends a new observe request without any change on Server.

then this message is printed from Server

Sep 20, 2015 11:01:15 PM org.eclipse.californium.core.CoapResource addObserveRelation
INFORMATION: Replacing observe relation between /127.0.0.1:46855#15264fa9 and resource /state


I use californium_core-1.0.0.M3 and element_connector-1.0.0.M5

Thanks for Help
Previous Topic:DTLS ECC
Next Topic:POST responses
Goto Forum:
  


Current Time: Fri Jun 22 15:09:03 GMT 2018

Powered by FUDForum. Page generated in 0.02281 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top