plebble
protocol.h
Go to the documentation of this file.
1 /*
2 -------------------------------------------------------------------------------
3  PLEBBLE
4 -------------------------------------------------------------------------------
5  Copyright (C) 2019-2020 KATLAS Technology. (http://katlastechnology.com)
6  Copyright (C) 2017-2020 Marcos Mayorga. (mm@mm-studios.com)
7 
8  This file is part of our Plebble(R) Platform.
9 
10  The code below cannot be copied, used for any purpose other than the one
11  agreed and/or distributed without the express permission of
12  KATLAS Technology.
13 -------------------------------------------------------------------------------
14 
15 
16 */
17 #ifndef USGOV_97f4ca5009925205caddff033edb001948dc6b58d5c2e82468ef782c1a30b756
18 #define USGOV_97f4ca5009925205caddff033edb001948dc6b58d5c2e82468ef782c1a30b756
19 
20 #include <inttypes.h>
21 #include <us/gov/socket/protocol.h>
22 #include <us/gov/relay/protocol.h>
23 
24 namespace us { namespace gov {
25 namespace protocol {
26  static constexpr uint16_t query_suffix{2};
27  static inline bool is_query(const uint16_t& i) { return (i&3)==query_suffix; }
28 
29  #include <us/api/apitool_generated__c++__protocol_gov_dfs>
30 }
31 }}
32 
33 #endif
us::gov.protocol::query_suffix
static constexpr uint16_t query_suffix
Definition: protocol.h:26
us
Definition: daemon.h:22
us::gov.protocol.is_query
static boolean is_query(short i)
Definition: protocol.java:26
protocol.h
protocol.h