Esempio n. 1
0
        public static void MakeObject(ServiceCtx Context, object Obj)
        {
            if (Context.Session is HDomain Dom)
            {
                Context.Response.ResponseObjIds.Add(Dom.GenertateObjectId(Obj));
            }
            else
            {
                HSessionObj HndData = new HSessionObj(Context.Session, Obj);

                int VHandle = Context.Ns.Os.Handles.GenerateId(HndData);

                Context.Response.HandleDesc = IpcHandleDesc.MakeMove(VHandle);
            }
        }