public void RetargetToTarget_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                RetargetToTarget_args args = new RetargetToTarget_args();

                args.Read(iprot);
                iprot.ReadMessageEnd();
                RetargetToTarget_result result = new RetargetToTarget_result();

                try
                {
                    result.Success = iface_.RetargetToTarget(args.IntermediatePostureValues);
                    oprot.WriteMessageBegin(new TMessage("RetargetToTarget", 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("RetargetToTarget", TMessageType.Exception, seqid));
                    x.Write(oprot);
                }
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }
            public void send_RetargetToTarget(MMIStandard.MAvatarPostureValues intermediatePostureValues)
            {
                oprot_.WriteMessageBegin(new TMessage("RetargetToTarget", TMessageType.Call, seqid_));
                RetargetToTarget_args args = new RetargetToTarget_args();

                args.IntermediatePostureValues = intermediatePostureValues;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
            public IAsyncResult send_RetargetToTarget(AsyncCallback callback, object state, MMIStandard.MAvatarPostureValues intermediatePostureValues)
            {
                oprot_.WriteMessageBegin(new TMessage("RetargetToTarget", TMessageType.Call, seqid_));
                RetargetToTarget_args args = new RetargetToTarget_args();

                args.IntermediatePostureValues = intermediatePostureValues;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                return(oprot_.Transport.BeginFlush(callback, state));
            }