Exemple #1
0
 public void Register(string name, object g)
 {
     TransportManager.Register(name, g);
 }
Exemple #2
0
 void Dispatch(object[] req, CallAttr attr, uint msgid, ResponseDelegate d)
 {
     WriteStream(req);
     TransportManager.Yield(msgid, attr, d);
 }
Exemple #3
0
 // Update is called once per frame
 void Update()
 {
     TransportManager.Poll();
 }
Exemple #4
0
 public void Close()
 {
     TransportManager.Remove(this);
     _sock.Close(1);
     _stream.Close();
 }