listNodes: Get the list of nodes associated with a CN

Description Usage Arguments Value See Also Examples

Description

Get the list of nodes associated with a CN

Usage

1
2
3
4
listNodes(x, ...)

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

Arguments

x

The coordinating node to query for its registered Member Nodes

...

(Not yet used)

url

Optianal - the url of the CN.

Value

the list of nodes in the DataONE CN environment

See Also

CNode class description.

Examples

1
2
3
4
5
6
## Not run: 
cn <- CNode()
nodelist <- listNodes(cn)
nodeid <- nodelist[[2]]@identifier

## End(Not run)

dataone documentation built on July 2, 2018, 1:02 a.m.