ping: Test if a node is online and accepting DataONE requests

Description Usage Arguments Value Examples

Description

Test if a node is online and accepting DataONE requests

Usage

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

## S4 method for signature 'D1Node'
ping(x)

Arguments

x

The CNode or MNode to check

...

(Not yet used)

Value

logical A logical value set to TRUE if the node is up and FALSE if it is not

logical A logical value set to TRUE if the node is up and FALSE if it is not

Examples

1
2
3
4
5
6
## Not run: 
cn <- CNode()
mn <- getMNode(cn, "urn:node:KNB")
isAlive <- ping(mn)

## End(Not run)

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