public void send_storeEnum(ida_enum _enum) #endif { oprot_.WriteMessageBegin(new TMessage("storeEnum", TMessageType.Call, seqid_)); storeEnum_args args = new storeEnum_args(); args._enum = _enum; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public IAsyncResult send_storeEnum(AsyncCallback callback, object state, ida_enum _enum)
public bool storeEnum(ida_enum _enum) { #if !SILVERLIGHT send_storeEnum(_enum); return recv_storeEnum(); #else var asyncResult = Begin_storeEnum(null, null, _enum); return End_storeEnum(asyncResult); #endif }
public IAsyncResult Begin_storeEnum(AsyncCallback callback, object state, ida_enum _enum) { return send_storeEnum(callback, state, _enum); }
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.List) { { Enums = new List<ida_enum>(); TList _list36 = iprot.ReadListBegin(); for( int _i37 = 0; _i37 < _list36.Count; ++_i37) { ida_enum _elem38 = new ida_enum(); _elem38 = new ida_enum(); _elem38.Read(iprot); Enums.Add(_elem38); } iprot.ReadListEnd(); } } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); }
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.Struct) { _enum = new ida_enum(); _enum.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); }