public void getClusterInfo_Process(int seqid, TProtocol iprot, TProtocol oprot) { getClusterInfo_args args = new getClusterInfo_args(); args.Read(iprot); iprot.ReadMessageEnd(); getClusterInfo_result result = new getClusterInfo_result(); try { result.Success = iface_.getClusterInfo(args.TicketId); oprot.WriteMessageBegin(new TMessage("getClusterInfo", TMessageType.Reply, seqid)); result.Write(oprot); } catch (TTransportException) { throw; } catch (Exception ex) { Console.Error.WriteLine("Error occurred in processor:"); Console.Error.WriteLine(ex.ToString()); TApplicationException x = new TApplicationException(TApplicationException.ExceptionType.InternalError, " Internal error."); oprot.WriteMessageBegin(new TMessage("getClusterInfo", TMessageType.Exception, seqid)); x.Write(oprot); } oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getClusterInfo(string ticketId) #endif { oprot_.WriteMessageBegin(new TMessage("getClusterInfo", TMessageType.Call, seqid_)); getClusterInfo_args args = new getClusterInfo_args(); args.TicketId = ticketId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void getClusterInfo_Process(int seqid, TProtocol iprot, TProtocol oprot) { getClusterInfo_args args = new getClusterInfo_args(); args.Read(iprot); iprot.ReadMessageEnd(); getClusterInfo_result result = new getClusterInfo_result(); try { result.Success = iface_.getClusterInfo(); } catch (AuthorizationException aze) { result.Aze = aze; } oprot.WriteMessageBegin(new TMessage("getClusterInfo", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getClusterInfo() #endif { oprot_.WriteMessageBegin(new TMessage("getClusterInfo", TMessageType.Call, seqid_)); getClusterInfo_args args = new getClusterInfo_args(); args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }