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