C# Client  0.0.0.7
C# Library to interface with Corelink
ControlStream.cs
Go to the documentation of this file.
1 using UnityEditor;
2 using UnityEngine;
3 
4 namespace CoreLink
5 {
12  abstract public class ControlStream
13  {
14  virtual public void onUpdate(string msg)
15  {
16  Debug.Log("OnUpdate called " + msg);
17  }
18  virtual public void onSubscriber(string msg)
19  {
20  Debug.Log("OnSubscriber called " + msg);
21  }
22  virtual public void onStale(string msg)
23  {
24  Debug.Log("OnStale called " + msg);
25  }
26  virtual public void onDropped(string msg)
27  {
28  Debug.Log("OnDropped called " + msg);
29  }
30  abstract public void sendMessage(string request);
31  abstract public void stopConnection();
32  }
33 }