public void send_Ping(ThriftS.IDL.ThriftSRequest request) #endif { oprot_.WriteMessageBegin(new TMessage("Ping", TMessageType.Call, seqid_)); Ping_args args = new Ping_args(); args.Request = request; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void Ping_Process(int seqid, TProtocol iprot, TProtocol oprot) { Ping_args args = new Ping_args(); args.Read(iprot); iprot.ReadMessageEnd(); Ping_result result = new Ping_result(); try { result.Success = iface_.Ping(args.Request); } catch (ThriftS.IDL.BadRequestException badRequestException) { result.BadRequestException = badRequestException; } catch (ThriftS.IDL.InternalServerException internalServerException) { result.InternalServerException = internalServerException; } oprot.WriteMessageBegin(new TMessage("Ping", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void Ping_Process(int seqid, TProtocol iprot, TProtocol oprot) { Ping_args args = new Ping_args(); args.Read(iprot); iprot.ReadMessageEnd(); Ping_result result = new Ping_result(); try { result.Success = iface_.Ping(); } catch (AsapiException asapiEx) { result.AsapiEx = asapiEx; } oprot.WriteMessageBegin(new TMessage("Ping", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_Ping() { oprot_.WriteMessageBegin(new TMessage("Ping", TMessageType.Call, seqid_)); Ping_args args = new Ping_args(); args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }