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(); }
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 }
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(); } }
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)); }
public IAsyncResult Begin_ApplyUpdates(AsyncCallback callback, object state, MMIStandard.MSceneUpdate sceneUpdates) { return(send_ApplyUpdates(callback, state, sceneUpdates)); }