@Beta public final class LazySerializedDOMNotification extends Object implements DOMNotification
This implementation performs serialization of data, only if receiver of notification actually accessed data from notification.
Modifier and Type | Method and Description |
---|---|
static DOMNotification |
create(BindingNormalizedNodeSerializer codec,
Notification<?> data)
Create serializer of Binding notification data to DOM notification with specific codec.
|
Notification<?> |
getBindingData()
Get binding notification data.
|
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
getBody()
Return the body of this notification.
|
org.opendaylight.yangtools.yang.model.api.SchemaPath |
getType()
Return the type of this notification.
|
public static DOMNotification create(BindingNormalizedNodeSerializer codec, Notification<?> data)
codec
- - specific codecdata
- - binding notification data@Nonnull public org.opendaylight.yangtools.yang.model.api.SchemaPath getType()
DOMNotification
getType
in interface DOMNotification
@Nonnull public org.opendaylight.yangtools.yang.data.api.schema.ContainerNode getBody()
DOMNotification
getBody
in interface DOMNotification
public Notification<?> getBindingData()
Copyright © 2019 OpenDaylight. All rights reserved.