FTN3: FutoIn Interface - Ping-Pong
Version: 1.0
Date: 2017-07-22
Copyright: 2015-2017 FutoIn Project (http://futoin.org)
Authors: Andrey Galkin

CHANGES

1. Intro

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.

2. Interface schema

2.1. Generic interface

This version requires authentication by default.

    {
        "iface" : "futoin.ping",
        "version" : "{ver}",
        "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"
    }

2.1. Anoynmous variation of ping interface

    {
        "iface" : "futoin.anonping",
        "version" : "{ver}",
        "ftn3rev" : "1.1",
        "inherit" : "futoin.ping:1.0",
        "requires" : [
            "AllowAnonymous"
        ],
        "desc" : "Ping-pong interface"
    }

=END OF SPEC=