public void send_system_add_keyspace(KsDef ks_def) { oprot_.WriteMessageBegin(new TMessage("system_add_keyspace", TMessageType.Call, seqid_)); system_add_keyspace_args args = new system_add_keyspace_args(); args.Ks_def = ks_def; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void system_add_keyspace_Process(int seqid, TProtocol iprot, TProtocol oprot) { system_add_keyspace_args args = new system_add_keyspace_args(); args.Read(iprot); iprot.ReadMessageEnd(); system_add_keyspace_result result = new system_add_keyspace_result(); try { result.Success = iface_.system_add_keyspace(args.Ks_def); } catch (InvalidRequestException ire) { result.Ire = ire; } catch (SchemaDisagreementException sde) { result.Sde = sde; } oprot.WriteMessageBegin(new TMessage("system_add_keyspace", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_system_add_keyspace(KsDef ks_def) #endif { oprot_.WriteMessageBegin(new TMessage("system_add_keyspace", TMessageType.Call, seqid_)); system_add_keyspace_args args = new system_add_keyspace_args(); args.Ks_def = ks_def; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }