Пример #1
0
        ///<summary>
        /// Asynchronous invoker for  'Agni.Social.Graph.IGraphCommentSystem.Update'.
        /// 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_Update(@Agni.@Social.@Graph.@CommentID @ratingId, @Agni.@Social.@Graph.@RatingValue @value, @System.@String @content, @System.@Byte[]  @data)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Update_2, false, RemoteInstance, new object[] { @ratingId, @value, @content, @data });

            return(DispatchCall(request));
        }
Пример #2
0
        ///<summary>
        /// Asynchronous invoker for  'Agni.Social.Graph.IGraphCommentSystem.Create'.
        /// 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_Create(@NFX.@DataAccess.@Distributed.@GDID @gAuthorNode, @NFX.@DataAccess.@Distributed.@GDID @gTargetNode, @System.@String @dimension, @System.@String @content, @System.@Byte[]  @data, @Agni.@Social.@Graph.@PublicationState @publicationState, @Agni.@Social.@Graph.@RatingValue @value, @System.@Nullable <@System.@DateTime> @timeStamp)
        {
            var request = new RequestAnyMsg(s_ts_CONTRACT, @s_ms_Create_0, false, RemoteInstance, new object[] { @gAuthorNode, @gTargetNode, @dimension, @content, @data, @publicationState, @value, @timeStamp });

            return(DispatchCall(request));
        }
Пример #3
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Social.Graph.IGraphCommentSystem.Update'.
        /// 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 @Update(@Agni.@Social.@Graph.@CommentID @ratingId, @Agni.@Social.@Graph.@RatingValue @value, @System.@String @content, @System.@Byte[]  @data)
        {
            var call = Async_Update(@ratingId, @value, @content, @data);

            return(call.GetValue <@Agni.@Social.@Graph.@GraphChangeStatus>());
        }
Пример #4
0
        ///<summary>
        /// Synchronous invoker for  'Agni.Social.Graph.IGraphCommentSystem.Create'.
        /// This is a two-way call per contract specification, meaning - the server sends the result back either
        ///  returning '@Agni.@Social.@Graph.@Comment' 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.@Comment @Create(@NFX.@DataAccess.@Distributed.@GDID @gAuthorNode, @NFX.@DataAccess.@Distributed.@GDID @gTargetNode, @System.@String @dimension, @System.@String @content, @System.@Byte[]  @data, @Agni.@Social.@Graph.@PublicationState @publicationState, @Agni.@Social.@Graph.@RatingValue @value, @System.@Nullable <@System.@DateTime> @timeStamp)
        {
            var call = Async_Create(@gAuthorNode, @gTargetNode, @dimension, @content, @data, @publicationState, @value, @timeStamp);

            return(call.GetValue <@Agni.@Social.@Graph.@Comment>());
        }