dataone (version 2.2.1)

listNodes: Get the list of nodes associated with a CN

Description

Get the list of nodes associated with a CN

Usage

listNodes(x, ...)

# S4 method for CNode listNodes(x, url = as.character(NA), ...)

Arguments

x

The coordinating node to query for its registered Member Nodes

...

(Not yet used)

url

Optional - the url of the CN.

Value

the list of nodes in the DataONE CN environment

See Also

CNode class description.

Examples

Run this code
# NOT RUN {
cn <- CNode()
nodelist <- listNodes(cn)
nodeid <- nodelist[[2]]@identifier
# }

Run the code above in your browser using DataLab