public void describe_local_ring_Process(int seqid, TProtocol iprot, TProtocol oprot) { describe_local_ring_args args = new describe_local_ring_args(); args.Read(iprot); iprot.ReadMessageEnd(); describe_local_ring_result result = new describe_local_ring_result(); try { result.Success = iface_.describe_local_ring(args.Keyspace); } catch (InvalidRequestException ire) { result.Ire = ire; } oprot.WriteMessageBegin(new TMessage("describe_local_ring", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_describe_local_ring(string keyspace) #endif { oprot_.WriteMessageBegin(new TMessage("describe_local_ring", TMessageType.Call, seqid_)); describe_local_ring_args args = new describe_local_ring_args(); args.Keyspace = keyspace; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }