LOM2M  0.8.0
gateway.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2013-2021 LAAS-CNRS (www.laas.fr)
3  7 Colonel Roche 31077 Toulouse - France
4 
5  The use of this source code requires an agreement with the CNRS.
6 
7  Initial Contributors:
8  David Gauchard, Guillaume Garzone, Thierry Monteil.
9 */
10 
11 #ifndef __GATEWAY_H
12 #define __GATEWAY_H
13 
14 #include "configuration.h"
15 #include "RequestPrimitive.h"
16 #include "ResponsePrimitive.h"
17 
18 void serveOM2M(const String& uri);
19 void initCSEBase();
20 bool registerCSE();
21 
22 #if SUBSCRIPTION_FEAT
23 void handleNotifications(int max = 5);
24 #endif // SUBSCRIPTION_FEAT
25 
26 class Router
27 {
28 public:
35  static void initResp(RequestPrimitive& request, ResponsePrimitive* response);
36 };
37 
38 #endif // __GATEWAY_H
ResponsePrimitive * response
Definition: Notify.cpp:100
Definition: RequestPrimitive.h:41
Definition: ResponsePrimitive.h:49
Definition: gateway.h:27
static int processRequest(RequestPrimitive &request, ResponsePrimitive *response)
Definition: gateway.cpp:83
static void initResp(RequestPrimitive &request, ResponsePrimitive *response)
Definition: gateway.cpp:67
bool registerCSE()
Definition: gateway.cpp:883
void serveOM2M(const String &uri)
void initCSEBase()
void handleNotifications(int max=5)
Definition: Notify.cpp:106