public void send_get(KVGetRequest req)
            {
                oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
                get_args args = new get_args();

                args.Req = req;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
Ejemplo n.º 2
0
            public void send_get(string id)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
                get_args args = new get_args();

                args.Id = id;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
        #if SILVERLIGHT
                return(oprot_.Transport.BeginFlush(callback, state));
        #else
                oprot_.Transport.Flush();
        #endif
            }
Ejemplo n.º 3
0
            public void send_get(com.imd.doc.thrift.Source source, string id, FileType fileType)
      #endif
            {
                oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
                get_args args = new get_args();

                args.Source   = source;
                args.Id       = id;
                args.FileType = fileType;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
        #if SILVERLIGHT
                return(oprot_.Transport.BeginFlush(callback, state));
        #else
                oprot_.Transport.Flush();
        #endif
            }
Ejemplo n.º 4
0
 public void send_get(byte[] key, ColumnPath column_path, ConsistencyLevel consistency_level)
 {
     oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
     get_args args = new get_args();
     args.Key = key;
     args.Column_path = column_path;
     args.Consistency_level = consistency_level;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Ejemplo n.º 5
0
 public void send_get(byte[] key, ColumnPath column_path, ConsistencyLevel consistency_level)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
   get_args args = new get_args();
   args.Key = key;
   args.Column_path = column_path;
   args.Consistency_level = consistency_level;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 6
0
 public void send_get(byte[] tableName, byte[] row, byte[] column)
 {
     this.oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, this.seqid_));
     var args = new get_args();
     args.TableName = tableName;
     args.Row = row;
     args.Column = column;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Ejemplo n.º 7
0
 public void send_get(byte[] table, TGet get)
 {
     oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
     get_args args = new get_args();
     args.Table = table;
     args.Get = get;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Ejemplo n.º 8
0
 public void send_get(byte[] tableName, byte[] row, byte[] column, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
   get_args args = new get_args();
   args.TableName = tableName;
   args.Row = row;
   args.Column = column;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 9
0
 public void send_get(byte[] tableName, byte[] row, byte[] column)
 {
     oprot_.WriteMessageBegin(new TMessage("get", TMessageType.Call, seqid_));
     get_args args = new get_args();
     args.tableName = tableName;
     args.row = row;
     args.column = column;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }