EntityGlobalId class

A globally-unique identifier for a Zenoh entity (e.g. a queryable, publisher).

Mirrors cpp EntityGlobalId: a zid (the session id) plus an eid (the entity id, a uint32) that distinguishes multiple entities declared on the same session. Both fields are load-bearing for identity — two entities on one session share zid but differ in eid.

Annotations
  • @immutable

Constructors

EntityGlobalId(ZenohId zid, int eid)
Creates an EntityGlobalId from a session zid and an entity eid.
const

Properties

eid int
The entity id (uint32) — distinguishes entities within one session.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zid ZenohId
The Zenoh session id of the entity.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override