refactoring
This commit is contained in:
parent
dda06bd0a1
commit
b84c6abd10
@ -112,10 +112,6 @@ public class LwM2mSessionMsgListener implements GenericFutureListener<Future<? s
|
|||||||
@Override
|
@Override
|
||||||
public void onDeviceDeleted(DeviceId deviceId) {
|
public void onDeviceDeleted(DeviceId deviceId) {
|
||||||
log.trace("[{}] Device on delete", deviceId);
|
log.trace("[{}] Device on delete", deviceId);
|
||||||
try{
|
this.handler.onDeviceDelete(deviceId);
|
||||||
this.handler.onDeviceDelete(deviceId);
|
|
||||||
} catch (Exception e) {
|
|
||||||
log.error("", e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -160,7 +160,8 @@ public class DefaultLwM2MUplinkMsgHandler extends LwM2MExecutorAwareService impl
|
|||||||
LwM2mTransportContext context,
|
LwM2mTransportContext context,
|
||||||
TbLwM2MDtlsSessionStore sessionStore,
|
TbLwM2MDtlsSessionStore sessionStore,
|
||||||
LwM2mVersionedModelProvider modelProvider,
|
LwM2mVersionedModelProvider modelProvider,
|
||||||
RegistrationStore registrationStore, TbLwM2mSecurityStore securityStore) {
|
RegistrationStore registrationStore,
|
||||||
|
TbLwM2mSecurityStore securityStore) {
|
||||||
this.transportService = transportService;
|
this.transportService = transportService;
|
||||||
this.sessionManager = sessionManager;
|
this.sessionManager = sessionManager;
|
||||||
this.attributesService = attributesService;
|
this.attributesService = attributesService;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user