A Wiretap server uses a hierarchy of nodes to represent the directory structure of an underlying database. These workflows are related to navigating the node hierarchy and to modifying it in generic ways (copy, modify, delete). The WireTapNodeHandle class is important in these workflows.
Related C++ Sample
Related Python Sample
Related Command Line Tools
See Understanding the IFFFS Wiretap Server Node Hierarchy for the structure and description of the IFFFFS Wiretap server hierarchy.
The WireTapNodeHandle class represents a node in a Wiretap server hierarchy.
The fact that a Wiretap client can manipulate objects on a Wiretap server resembles Microsoft’s Component Object Model (COM). Unlike COM objects, Wiretap node handles are not automatically updated when there is a change in the object they point to on the server. If the Wiretap client requires the latest state of an object on the server, it must update the information explicitly by calling the appropriate accessor method on the node handle.
Each node has a node ID. These methods give access to the node IDs of a Wiretap server:
In addition to node IDs, other Wiretap entities have IDs: servers, storage devices, and frames. Wiretap servers are responsible for ensuring the persistence and uniqueness of:
Wiretap servers do not guarantee the uniqueness and persistence of frame IDs.
You should not persist connection information based on the server ID: this ID can change over time, such as when the network uses DHCP. Instead, use the server ID for the first connection and get either Storage ID or Host UUID, and then use either for the following connections.
Related C++ Samples
Related Python Sample
Related Command Line Tool
The WireTapNodeHandle class includes a number of methods for creating nodes and clip nodes. Use WireTapNodeHandle.createNode to create all types of nodes (except clip nodes).
Related C++ Sample
Related Command Line Tools
To get and set the metadata for a node, you call the getMetaData and setMetaData methods on the WireTapNodeHandle object. Metadata is a stream that can be in any format (for example, XML).
For more information about the metadata that can be set on a particular type of node, see:
Related C++ Sample
Related Command Line Tool
To delete a node, you call the destroyNode method on the WireTapNodeHandle object.
Depending on the type of node, there may be some conditions on deleting a node. For more information, see: