Value

public interface Value

Interface of a Value that, associated to a Path, can be published into zenoh via Workspace.put(Path,Value), or retrieved via Workspace.get(Selector) or via a subscription (Workspace.subscribe(Selector,Listener)).

Methods

encode

public ByteBuffer encode()

Returns a new ByteBuffer containing the Value encoded as a sequence of bytes.

Returns:the encoded Value.

getEncoding

public Encoding getEncoding()

Return the Encoding of this Value.

Returns:the encoding.