{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/leshan/issues/539","repository_url":"https://api.github.com/repos/eclipse/leshan","labels_url":"https://api.github.com/repos/eclipse/leshan/issues/539/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/leshan/issues/539/comments","events_url":"https://api.github.com/repos/eclipse/leshan/issues/539/events","html_url":"https://github.com/eclipse/leshan/issues/539","id":341892479,"node_id":"MDU6SXNzdWUzNDE4OTI0Nzk=","number":539,"title":"A way to send information about clients endpoint to a gateway?","user":{"login":"kedardahivale","id":32067335,"node_id":"MDQ6VXNlcjMyMDY3MzM1","avatar_url":"https://avatars1.githubusercontent.com/u/32067335?v=4","gravatar_id":"","url":"https://api.github.com/users/kedardahivale","html_url":"https://github.com/kedardahivale","followers_url":"https://api.github.com/users/kedardahivale/followers","following_url":"https://api.github.com/users/kedardahivale/following{/other_user}","gists_url":"https://api.github.com/users/kedardahivale/gists{/gist_id}","starred_url":"https://api.github.com/users/kedardahivale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kedardahivale/subscriptions","organizations_url":"https://api.github.com/users/kedardahivale/orgs","repos_url":"https://api.github.com/users/kedardahivale/repos","events_url":"https://api.github.com/users/kedardahivale/events{/privacy}","received_events_url":"https://api.github.com/users/kedardahivale/received_events","type":"User","site_admin":false},"labels":[{"id":174444924,"node_id":"MDU6TGFiZWwxNzQ0NDQ5MjQ=","url":"https://api.github.com/repos/eclipse/leshan/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-17T12:12:20Z","updated_at":"2018-07-17T14:24:38Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI have one gateway and I would like to send  information about the registered endpoint(clients) on leshan server to  server/gateway ? if yes can someone guide me on the same?\r\n"},"comment":{"url":"https://api.github.com/repos/eclipse/leshan/issues/comments/405600560","html_url":"https://github.com/eclipse/leshan/issues/539#issuecomment-405600560","issue_url":"https://api.github.com/repos/eclipse/leshan/issues/539","id":405600560,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTYwMDU2MA==","user":{"login":"sbernard31","id":840294,"node_id":"MDQ6VXNlcjg0MDI5NA==","avatar_url":"https://avatars2.githubusercontent.com/u/840294?v=4","gravatar_id":"","url":"https://api.github.com/users/sbernard31","html_url":"https://github.com/sbernard31","followers_url":"https://api.github.com/users/sbernard31/followers","following_url":"https://api.github.com/users/sbernard31/following{/other_user}","gists_url":"https://api.github.com/users/sbernard31/gists{/gist_id}","starred_url":"https://api.github.com/users/sbernard31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbernard31/subscriptions","organizations_url":"https://api.github.com/users/sbernard31/orgs","repos_url":"https://api.github.com/users/sbernard31/repos","events_url":"https://api.github.com/users/sbernard31/events{/privacy}","received_events_url":"https://api.github.com/users/sbernard31/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T14:24:38Z","updated_at":"2018-07-17T14:24:38Z","author_association":"CONTRIBUTOR","body":"Something like this ? \r\n\r\n```java\r\nlwServer.getRegistrationService().addListener(new RegistrationListener() {\r\n            \r\n            @Override\r\n            public void updated(RegistrationUpdate update, Registration updatedReg, Registration previousReg) {\r\n            }\r\n            \r\n            @Override\r\n            public void unregistered(Registration reg, Collection<Observation> observations, boolean expired,\r\n                    Registration newReg) {\r\n            }\r\n            \r\n            @Override\r\n            public void registered(Registration reg, Registration previousReg, Collection<Observation> previousObsersations) {\r\n                // your code where you send registration info to your gateway\r\n            }\r\n        });\r\n```"}}
{"actor":{"display_login":"sbernard31"}}