Interface HandlerDeregistration
-
- All Known Subinterfaces:
ClaimMessageRegistration
,CommonManagement<T,F>
,FeatureChangeRegistration
,FeatureHandle
,FeaturePropertiesChangeRegistration
,Live
,LiveFeatureHandle
,LiveThingHandle
,MessageRegistration
,ThingAttributeChangeRegistration
,ThingChangeRegistration
,ThingFeaturePropertiesChangeRegistration
,ThingHandle<F>
,Twin
,TwinFeatureHandle
,TwinThingHandle
- All Known Implementing Classes:
CommonManagementImpl
,FeatureHandleImpl
,LiveImpl
,LiveThingHandleImpl
,ThingHandleImpl
,TwinImpl
,TwinThingHandleImpl
public interface HandlerDeregistration
Defines the functionality for unregistering arbitrary handlers, e.g. handlers for receiving messages or changes.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
deregister(java.lang.String registrationId)
Unregisters the handler which has been registered with the givenregistrationId
.
-
-
-
Method Detail
-
deregister
boolean deregister(java.lang.String registrationId)
Unregisters the handler which has been registered with the givenregistrationId
.- Parameters:
registrationId
- the identifier of the handler to be unregistered.- Returns:
true
, if the handler has been unregistered;false
, if no handler for the givenregistrationId
exists.- Throws:
java.lang.IllegalArgumentException
- if parameterregistrationId
isnull
.
-
-