SessionDeclaration

Session declaration.

A session declaration is either a io.zenoh.publication.Publisher, a io.zenoh.subscriber.Subscriber or a io.zenoh.queryable.Queryable declared from a Session.

Inheritors

Functions

Link copied to clipboard
abstract fun isValid(): Boolean

Returns true if the declaration has not been undeclared.

Link copied to clipboard
abstract fun undeclare()

Undeclare a declaration. No further operations should be performed after calling this function.