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