Home | History | Annotate | Download | only in protoapi
      1 syntax = "proto3";
      2 
      3 package nugget.app.protoapi;
      4 
      5 //  Magic number used to identify the message type
      6 enum APImessageID {
      7   AMID_RESERVED = 0;
      8   API_REVISION_ONE = 1;
      9   SEND_SEQUENCE = 2;
     10   ECHO_THIS = 3;
     11   NOTICE = 4;
     12   CONTROL_REQUEST = 5;
     13   TESTING_API_CALL = 6;
     14   TESTING_API_RESPONSE = 7;
     15 }
     16 
     17 //   Success or Failure return for the call.  More failure types can be added
     18 //   to the enumeration as needed.
     19 enum APIcallResult {
     20   SUCCESS = 0;
     21   FAIL    = 1;
     22 }
     23