Exemplo n.º 1
0
 public IAsyncResult send_reportSettings(AsyncCallback callback, object state, long syncOpRevision, Settings settings)
Exemplo n.º 2
0
 public void send_reportSettings(long syncOpRevision, Settings settings)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("reportSettings", TMessageType.Call, seqid_));
   reportSettings_args args = new reportSettings_args();
   args.SyncOpRevision = syncOpRevision;
   args.Settings = settings;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemplo n.º 3
0
 public IAsyncResult Begin_reportSettings(AsyncCallback callback, object state, long syncOpRevision, Settings settings)
 {
   return send_reportSettings(callback, state, syncOpRevision, settings);
 }
Exemplo n.º 4
0
      public void reportSettings(long syncOpRevision, Settings settings)
      {
        #if !SILVERLIGHT
        send_reportSettings(syncOpRevision, settings);
        recv_reportSettings();

        #else
        var asyncResult = Begin_reportSettings(null, null, syncOpRevision, settings);
        End_reportSettings(asyncResult);

        #endif
      }
Exemplo n.º 5
0
 public void Read (TProtocol iprot)
 {
   TField field;
   iprot.ReadStructBegin();
   while (true)
   {
     field = iprot.ReadFieldBegin();
     if (field.Type == TType.Stop) { 
       break;
     }
     switch (field.ID)
     {
       case 2:
         if (field.Type == TType.I64) {
           SyncOpRevision = iprot.ReadI64();
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 3:
         if (field.Type == TType.Struct) {
           Settings = new Settings();
           Settings.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       default: 
         TProtocolUtil.Skip(iprot, field.Type);
         break;
     }
     iprot.ReadFieldEnd();
   }
   iprot.ReadStructEnd();
 }
Exemplo n.º 6
0
 public void Read (TProtocol iprot)
 {
   TField field;
   iprot.ReadStructBegin();
   while (true)
   {
     field = iprot.ReadFieldBegin();
     if (field.Type == TType.Stop) { 
       break;
     }
     switch (field.ID)
     {
       case 1:
         if (field.Type == TType.I32) {
           ReqSeq = iprot.ReadI32();
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 2:
         if (field.Type == TType.I32) {
           AttrBitset = iprot.ReadI32();
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 3:
         if (field.Type == TType.Struct) {
           Settings = new Settings();
           Settings.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       default: 
         TProtocolUtil.Skip(iprot, field.Type);
         break;
     }
     iprot.ReadFieldEnd();
   }
   iprot.ReadStructEnd();
 }
Exemplo n.º 7
0
 public void send_updateSettingsAttributes(int reqSeq, int attrBitset, Settings settings)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("updateSettingsAttributes", TMessageType.Call, seqid_));
   updateSettingsAttributes_args args = new updateSettingsAttributes_args();
   args.ReqSeq = reqSeq;
   args.AttrBitset = attrBitset;
   args.Settings = settings;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemplo n.º 8
0
 public void Read (TProtocol iprot)
 {
   TField field;
   iprot.ReadStructBegin();
   while (true)
   {
     field = iprot.ReadFieldBegin();
     if (field.Type == TType.Stop) { 
       break;
     }
     switch (field.ID)
     {
       case 0:
         if (field.Type == TType.Struct) {
           Success = new Settings();
           Success.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       case 1:
         if (field.Type == TType.Struct) {
           E = new TalkException();
           E.Read(iprot);
         } else { 
           TProtocolUtil.Skip(iprot, field.Type);
         }
         break;
       default: 
         TProtocolUtil.Skip(iprot, field.Type);
         break;
     }
     iprot.ReadFieldEnd();
   }
   iprot.ReadStructEnd();
 }
Exemplo n.º 9
0
      public int updateSettingsAttributes(int reqSeq, int attrBitset, Settings settings)
      {
        #if !SILVERLIGHT
        send_updateSettingsAttributes(reqSeq, attrBitset, settings);
        return recv_updateSettingsAttributes();

        #else
        var asyncResult = Begin_updateSettingsAttributes(null, null, reqSeq, attrBitset, settings);
        return End_updateSettingsAttributes(asyncResult);

        #endif
      }
Exemplo n.º 10
0
 public IAsyncResult send_updateSettingsAttributes(AsyncCallback callback, object state, int reqSeq, int attrBitset, Settings settings)
Exemplo n.º 11
0
 public IAsyncResult Begin_updateSettingsAttributes(AsyncCallback callback, object state, int reqSeq, int attrBitset, Settings settings)
 {
   return send_updateSettingsAttributes(callback, state, reqSeq, attrBitset, settings);
 }
Exemplo n.º 12
0
 public IAsyncResult send_updateSettings2(AsyncCallback callback, object state, int reqSeq, Settings settings)
Exemplo n.º 13
0
      public int updateSettings2(int reqSeq, Settings settings)
      {
        #if !SILVERLIGHT
        send_updateSettings2(reqSeq, settings);
        return recv_updateSettings2();

        #else
        var asyncResult = Begin_updateSettings2(null, null, reqSeq, settings);
        return End_updateSettings2(asyncResult);

        #endif
      }
Exemplo n.º 14
0
 public IAsyncResult Begin_updateSettings2(AsyncCallback callback, object state, int reqSeq, Settings settings)
 {
   return send_updateSettings2(callback, state, reqSeq, settings);
 }
Exemplo n.º 15
0
      public void updateSettings(int reqSeq, Settings settings)
      {
        #if !SILVERLIGHT
        send_updateSettings(reqSeq, settings);
        recv_updateSettings();

        #else
        var asyncResult = Begin_updateSettings(null, null, reqSeq, settings);
        End_updateSettings(asyncResult);

        #endif
      }