Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using ETSI.ARF.OpenAPI.WorldAnalysis;
using ETSI.ARF.WorldAnalysis;
using ETSI.ARF.WorldAnalysis.REST;
//Implementation of the WorldAnalysis interface
public partial class WorldAnalysisREST
{
//
// Inspector variables
//
public StringEvent webhookMessage;
private bool webhookRunning = false;
#region Communication system for WebHooks
private void WebHookServer_Create(string url)
{
webhookRunning = true;
throw new Exception("[API] WebHookServer_Create(): Not implemented!");
}
private void WebHookServer_Close()
{
if (webhookRunning)
{
webhookRunning = false;
throw new Exception("[API] WebHookServer_Close(): Not implemented!");
}
}
private object WebHookServer_OnReceive()
{
throw new Exception("[API] WebHookServer_OnReceive(): Not implemented!");
}
private void WebHookServer_Send(object message)
{
throw new Exception("[API] WebHookServer_Send(): Not implemented!");
}
#endregion
}