Apache.Cassandra.Cassandra.set_keyspace_args.Write(TProtocol)

Here are the examples of the csharp api class Apache.Cassandra.Cassandra.set_keyspace_args.Write(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 send_set_keyspace(string keyspace)
      #endif
      {
        oprot_.WriteMessageBegin(new TMessage("set_keyspace", TMessageType.Call, seqid_));
        set_keyspace_args args = new set_keyspace_args();
        args.Keyspace = keyspace;
        args.Write(oprot_);
        oprot_.WriteMessageEnd();
        #if SILVERLIGHT
        return oprot_.Transport.BeginFlush(callback, state);
        #else
        oprot_.Transport.Flush();
        #endif
      }