FTN3: FutoIn Interface - Ping-Pong Version: 1.0 Date: 2017-07-22 Copyright: 2015-2017 FutoIn Project (http://futoin.org) Authors: Andrey Galkin
Nothing to say, just a generic ping interface, which can be used to check other peer availability.
This interface should be implemented on all peers, which can act as Executor.
This version requires authentication by default.
{
"iface" : "futoin.ping",
"version" : "1.0",
"ftn3rev" : "1.1",
"funcs" : {
"ping" : {
"params" : {
"echo" : {
"type" : "integer",
"desc" : "Arbitrary integer"
}
},
"result" : {
"echo" : {
"type" : "integer",
"desc" : "See params"
}
},
"desc" : "Check if peer is accessible"
}
},
"desc" : "Ping-pong interface"
}
{
"iface" : "futoin.anonping",
"version" : "1.0",
"ftn3rev" : "1.1",
"inherit" : "futoin.ping:1.0",
"requires" : [
"AllowAnonymous"
],
"desc" : "Ping-pong interface"
}
=END OF SPEC=