Ejemplo n.º 1
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Social.Graph.IGraphNodeSystem.SaveNode'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@Agni.@Social.@Graph.@GraphChangeStatus' or WrappedExceptionData instance.
        /// ClientCallException is thrown if the call could not be placed in the outgoing queue.
        /// RemoteException is thrown if the server generated exception during method execution.
        ///</summary>
        public @Agni.@Social.@Graph.@GraphChangeStatus @SaveNode(@Agni.@Social.@Graph.@GraphNode @node)
        {
            var call = Async_SaveNode(@node);

            return(call.GetValue <@Agni.@Social.@Graph.@GraphChangeStatus>());
        }
Ejemplo n.º 2
0
        ///<summary>
        /// Asynchronous invoker for  'Agni.Social.Graph.IGraphNodeSystem.SaveNode'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning no exception or WrappedExceptionData instance.
        /// CallSlot is returned that can be queried for CallStatus, ResponseMsg and result.
        ///</summary>
        public CallSlot Async_SaveNode(@Agni.@Social.@Graph.@GraphNode @node)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_SaveNode_0, false, RemoteInstance, new object[] { @node });

            return(DispatchCall(request));
        }