示例#1
0
            public void send_ApplyUpdates(MMIStandard.MSceneUpdate sceneUpdates)
            {
                oprot_.WriteMessageBegin(new TMessage("ApplyUpdates", TMessageType.Call, seqid_));
                ApplyUpdates_args args = new ApplyUpdates_args();

                args.SceneUpdates = sceneUpdates;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
示例#2
0
     public MMIStandard.MBoolResponse ApplyUpdates(MMIStandard.MSceneUpdate sceneUpdates)
     {
 #if SILVERLIGHT
         var asyncResult = Begin_ApplyUpdates(null, null, sceneUpdates);
         return(End_ApplyUpdates(asyncResult));
 #else
         send_ApplyUpdates(sceneUpdates);
         return(recv_ApplyUpdates());
 #endif
     }
示例#3
0
            public void Read(TProtocol iprot)
            {
                iprot.IncrementRecursionDepth();
                try
                {
                    TField field;
                    iprot.ReadStructBegin();
                    while (true)
                    {
                        field = iprot.ReadFieldBegin();
                        if (field.Type == TType.Stop)
                        {
                            break;
                        }
                        switch (field.ID)
                        {
                        case 1:
                            if (field.Type == TType.Struct)
                            {
                                SceneUpdates = new MMIStandard.MSceneUpdate();
                                SceneUpdates.Read(iprot);
                            }
                            else
                            {
                                TProtocolUtil.Skip(iprot, field.Type);
                            }
                            break;

                        default:
                            TProtocolUtil.Skip(iprot, field.Type);
                            break;
                        }
                        iprot.ReadFieldEnd();
                    }
                    iprot.ReadStructEnd();
                }
                finally
                {
                    iprot.DecrementRecursionDepth();
                }
            }
示例#4
0
            public IAsyncResult send_ApplyUpdates(AsyncCallback callback, object state, MMIStandard.MSceneUpdate sceneUpdates)
            {
                oprot_.WriteMessageBegin(new TMessage("ApplyUpdates", TMessageType.Call, seqid_));
                ApplyUpdates_args args = new ApplyUpdates_args();

                args.SceneUpdates = sceneUpdates;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                return(oprot_.Transport.BeginFlush(callback, state));
            }
示例#5
0
 public IAsyncResult Begin_ApplyUpdates(AsyncCallback callback, object state, MMIStandard.MSceneUpdate sceneUpdates)
 {
     return(send_ApplyUpdates(callback, state, sceneUpdates));
 }