Change

public class Change

The notification of a change for a resource in zenoh. See Listener.

Constructors

Change

protected Change(Path path, Kind kind, Timestamp timestamp, Value value)

Methods

getKind

public Kind getKind()

Returns the Kind of change.

Returns:the kind of change.

getPath

public Path getPath()

Returns the Path of resource that changed.

Returns:the resource path.

getTimestamp

public Timestamp getTimestamp()

Returns the Timestamp when change occured.

Returns:the timestamp.

getValue

public Value getValue()

Depending of the change Kind, returns:

Returns:the new value (complete or delta), or null.