public void send_enviarPresentacion(TPresentacion tPresentacion) #endif { oprot_.WriteMessageBegin(new TMessage("enviarPresentacion", TMessageType.Oneway, seqid_)); enviarPresentacion_args args = new enviarPresentacion_args(); args.TPresentacion = tPresentacion; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }
public void enviarPresentacion_Process(int seqid, TProtocol iprot, TProtocol oprot) { enviarPresentacion_args args = new enviarPresentacion_args(); args.Read(iprot); iprot.ReadMessageEnd(); try { iface_.enviarPresentacion(args.TPresentacion); } catch (TTransportException) { throw; } catch (Exception ex) { Console.Error.WriteLine("Error occurred in processor:"); Console.Error.WriteLine(ex.ToString()); } }