@Override public void onResponse(Response coapResponse) { T lwM2mResponseT = buildResponse(coapResponse); if (lwM2mResponseT != null) { responseCallback.onResponse(lwM2mResponseT); } } };
@Override public void onResponse(T response) { // Set the client awake. This will restart the timer. presenceService.setAwake(destination); // Call the user's callback responseCallback.onResponse(response); } }, new ErrorCallback() {