Apache.Cassandra.Cassandra.prepare_cql_query_args.Read(TProtocol)

Here are the examples of the csharp api class Apache.Cassandra.Cassandra.prepare_cql_query_args.Read(TProtocol) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: cassandra-sharp
Source File: Cassandra.cs
public void prepare_cql_query_Process(int seqid, TProtocol iprot, TProtocol oprot)
      {
        prepare_cql_query_args args = new prepare_cql_query_args();
        args.Read(iprot);
        iprot.ReadMessageEnd();
        prepare_cql_query_result result = new prepare_cql_query_result();
        try {
          result.Success = iface_.prepare_cql_query(args.Query, args.Compression);
        } catch (InvalidRequestException ire) {
          result.Ire = ire;
        }
        oprot.WriteMessageBegin(new TMessage("prepare_cql_query", TMessageType.Reply, seqid)); 
        result.Write(oprot);
        oprot.WriteMessageEnd();
        oprot.Transport.Flush();
      }