Apache.Cassandra.Cassandra.Processor.set_keyspace_Process C# (CSharp) Method

set_keyspace_Process() public method

public set_keyspace_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
return void
      public void set_keyspace_Process(int seqid, TProtocol iprot, TProtocol oprot)
      {
        set_keyspace_args args = new set_keyspace_args();
        args.Read(iprot);
        iprot.ReadMessageEnd();
        set_keyspace_result result = new set_keyspace_result();
        try {
          iface_.set_keyspace(args.Keyspace);
        } catch (InvalidRequestException ire) {
          result.Ire = ire;
        }
        oprot.WriteMessageBegin(new TMessage("set_keyspace", TMessageType.Reply, seqid)); 
        result.Write(oprot);
        oprot.WriteMessageEnd();
        oprot.Transport.Flush();
      }